List and retrieve diffs with detailed revision information

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

{
    "id": 1040011,
    "revision": {
        "id": 475887,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8c64cd4e5947ad66ee92906b1cbb98cdb814e570",
        "head_changeset": "fcd5a04ec91b9cf4c02599833c794fbcc02cead5",
        "phabricator_id": 250470,
        "phabricator_phid": "PHID-DREV-yy4pv34p2llyt6sz5dne",
        "title": "Bug 1967062 - Partial Backout of \"Bug 933149 - Remove PodCopy loop heuristic r?mstange r=mstange\" on Linux only.",
        "bugzilla_id": 1967062,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475887/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475887/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250470"
    },
    "phid": "PHID-DIFF-kzg3dcg5ynmwbo77ahkg",
    "review_task_id": "VFBF8CBmQ7mKoxmWdqBHkg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fcd5a04ec91b9cf4c02599833c794fbcc02cead5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040011/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T17:42:55.105970Z"
}