List and retrieve diffs with detailed revision information

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

{
    "id": 1036042,
    "revision": {
        "id": 475467,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "f5de84138be1b77f1afcb03ccec4c43d1fd29b79",
        "phabricator_id": 249912,
        "phabricator_phid": "PHID-DREV-q2v53udb2sn5t7artxyw",
        "title": "Bug 1967147 - Don't make per-theme font data dependent on font scale. r=stransky",
        "bugzilla_id": 1967147,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475467/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475467/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249912"
    },
    "phid": "PHID-DIFF-l2lyt4fb6xkeano7omfx",
    "review_task_id": "bD71cyL4Sb2CqPW5QKiOCQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f5de84138be1b77f1afcb03ccec4c43d1fd29b79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036042/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T18:26:35.017398Z"
}