List and retrieve diffs with detailed revision information

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

{
    "id": 1063902,
    "revision": {
        "id": 476439,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85b6ac5848322ca461fc7cc7fb9d3d9af30d8e25",
        "head_changeset": "8f148b519b66764f21e6794ae199021aafb64929",
        "phabricator_id": 251362,
        "phabricator_phid": "PHID-DREV-xlhjr3gkskp65fy2wxpz",
        "title": "WIP: Bug 1968479 - Allow eval usage by ChromeTask.spawn",
        "bugzilla_id": 1968479,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476439/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476439/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251362"
    },
    "phid": "PHID-DIFF-wshko5rilk3hhv62eq4c",
    "review_task_id": "bx83xCCtSQqhCyaIx3TnLA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "214fab0b29b713e9a862e7607e3f95c588011380",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1063902/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T09:05:18.622655Z"
}