List and retrieve diffs with detailed revision information

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

{
    "id": 1107058,
    "revision": {
        "id": 514487,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "26a4b3bbf1f2411870927b34a12ecbd0b0f51bda",
        "head_changeset": "a6d0af280868682dcf5b0610d7ae4882802dce1b",
        "phabricator_id": 261404,
        "phabricator_phid": "PHID-DREV-6cxzw3xxuyrlaskupxuk",
        "title": "Bug 1983499 - part 2: [mips64] Truncate values for small-width cmpxchg. r=jandem",
        "bugzilla_id": 1983499,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514487/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514487/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261404"
    },
    "phid": "PHID-DIFF-xhcy4j6cp6ysbfoula7u",
    "review_task_id": "QIi6Km2PSQW4e05R3_0dEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6d0af280868682dcf5b0610d7ae4882802dce1b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107058/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T13:53:27.885702Z"
}