List and retrieve diffs with detailed revision information

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

{
    "id": 1099761,
    "revision": {
        "id": 505150,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aa49d22daec85ab6d133e78cdc66f060116ae7c",
        "head_changeset": "8bd291da141fafb0ad61b2fb9059a6f9c548cff1",
        "phabricator_id": 259539,
        "phabricator_phid": "PHID-DREV-fhphylb6w34f73k62r2r",
        "title": "Bug 1971780 - [wdspec] Add fixture to setup a collected response",
        "bugzilla_id": 1971780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505150/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505150/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259539"
    },
    "phid": "PHID-DIFF-q2fafcbzpejkgblawth2",
    "review_task_id": "exXa_rwXQamRTxKE508tpg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "404d370722d60f80143aee392b091dffc764bc6f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099761/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:50:59.728193Z"
}