List and retrieve diffs with detailed revision information

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

{
    "id": 1048986,
    "revision": {
        "id": 438369,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77c7c62035edf235f884d9d321f23ae3d22fc1f7",
        "head_changeset": "ef7728063ea7d58710e9e64c0f84c1731fd123a2",
        "phabricator_id": 235935,
        "phabricator_phid": "PHID-DREV-jbobllhzydhu4crwhvoh",
        "title": "WIP: Bug 1944507 - Break up mozjemalloc.cpp",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/438369/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/438369/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D235935"
    },
    "phid": "PHID-DIFF-7xjmd6bupofcy45sxgcs",
    "review_task_id": "dAyIAT_ERe2uXAUACchkkw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2ee7a40d466883d5ef4ee9c790dd4407bc3eda12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048986/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T06:26:07.909841Z"
}