List and retrieve diffs with detailed revision information

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

{
    "id": 1077891,
    "revision": {
        "id": 490550,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5731cacd23d21414c8582182a2e007a6f4b7c1c0",
        "head_changeset": "67e29ee44d04466fe51e49a472fa1b9142b14ebb",
        "phabricator_id": 256080,
        "phabricator_phid": "PHID-DREV-jtn3x73nfqa34z32o4cu",
        "title": "Bug 1975657. Cleanup more img element wpt test annotations. r?#layout-reviewers",
        "bugzilla_id": 1975657,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490550/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490550/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256080"
    },
    "phid": "PHID-DIFF-62clpvxf6vofkafjuvzc",
    "review_task_id": "L85cCxjcTICXI36aTAN9eQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "67e29ee44d04466fe51e49a472fa1b9142b14ebb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077891/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T06:56:58.371659Z"
}