List and retrieve diffs with detailed revision information

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

{
    "id": 1032408,
    "revision": {
        "id": 451965,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ffddf6c98dc7cfec5eb11ceb7d16e9160165dfee",
        "head_changeset": "7614ff9ada8222c477868f6980fe428c3bb5365b",
        "phabricator_id": 213186,
        "phabricator_phid": "PHID-DREV-xl5rmhwtvs4ezrwpn7jo",
        "title": "WIP: Bug 259356 - Add basic testing of XDG handling",
        "bugzilla_id": 259356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/451965/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/451965/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D213186"
    },
    "phid": "PHID-DIFF-he3wspfyjbntzbb324a7",
    "review_task_id": "D4mQI9KPQCK08LUAK7HfsA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b274065605c80bb49b702f7f58abf1a7107e7660",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032408/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T11:42:55.535860Z"
}