List and retrieve diffs with detailed revision information

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

{
    "id": 1039463,
    "revision": {
        "id": 474842,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c200d9e9fd0eb22085a4af80f58a2467196fbb7c",
        "head_changeset": "9c0ad4da6822989d407f5cb998f8f23e8961c70d",
        "phabricator_id": 249018,
        "phabricator_phid": "PHID-DREV-nsir2eiocu5qxub5dkqk",
        "title": "Bug 1302711 WIP: socket process sandbox level 2 (ioctl lockdown)",
        "bugzilla_id": 1302711,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474842/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474842/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249018"
    },
    "phid": "PHID-DIFF-bwcyny6s6av5bccrjunk",
    "review_task_id": "Tfo_jXNlQDuDPmM61NGtkA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ae66ba575a1dde191284c619562302c571c92e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039463/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T05:07:48.614968Z"
}