List and retrieve diffs with detailed revision information

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

{
    "id": 1077835,
    "revision": {
        "id": 490501,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1d15acba89edf528ca4bb3d7336b0bd4e12efc64",
        "head_changeset": "ff348e2bdf7e2ec836312bb2669b73f08d8b9298",
        "phabricator_id": 256057,
        "phabricator_phid": "PHID-DREV-dznh4ihczeam76sxdi52",
        "title": "Bug 1965118 - Add WPTs for checking if the browsers run the \"fire a pointer event\" steps including the \"process pending pointer capture\" steps for both `pointerrawupdate` and `pointermove` r=smaug!",
        "bugzilla_id": 1965118,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490501/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490501/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256057"
    },
    "phid": "PHID-DIFF-tqrxms66atquvxgc4rjf",
    "review_task_id": "Nr_TBu0wRZ-VLSQHpnoZVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d00a7a69674d4363c606e4f819fb9c52bf9f957",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077835/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T02:26:33.588272Z"
}