List and retrieve diffs with detailed revision information

GET /v1/diff/1112814/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1112814,
    "revision": {
        "id": 513525,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c37785597e55a69b91f39cf58f2ddf813986156",
        "head_changeset": "96ff2af33972219f41ac43ac593150f3cbaa0e86",
        "phabricator_id": 260745,
        "phabricator_phid": "PHID-DREV-stihxlle3zjtad4yg2gh",
        "title": "Bug 1979115 - autofix ai-ml border-radius linting errors r=#firefox-ai-ml-reviewers",
        "bugzilla_id": 1979115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513525/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513525/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260745"
    },
    "phid": "PHID-DIFF-an24uowipsq6xxig2wjb",
    "review_task_id": "KhauJ-leTm-4XxbvwExXmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d578d3661e4befe66921b17d44ad49f1c2dd6f9a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112814/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T14:04:36.706658Z"
}