List and retrieve diffs with detailed revision information

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

{
    "id": 1059371,
    "revision": {
        "id": 479871,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e3dfcdead92ede9500a3c94c8ee1c7ecb0756bf",
        "head_changeset": "8686b663189e59ed47544a976bb4817d7d4d9fe6",
        "phabricator_id": 253836,
        "phabricator_phid": "PHID-DREV-ihzjn4s7uesiuplgcw53",
        "title": "Bug 1972337 - Always provide the 7-Zip tool we build in the toolchain to the system symbol scrapers r=gerard-majax",
        "bugzilla_id": 1972337,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479871/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479871/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253836"
    },
    "phid": "PHID-DIFF-3nkahsvuf53474whgaxt",
    "review_task_id": "fV9Z0Rm0QWe-cfno69sCBA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8686b663189e59ed47544a976bb4817d7d4d9fe6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059371/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:36:18.343965Z"
}