List and retrieve diffs with detailed revision information

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

{
    "id": 1064418,
    "revision": {
        "id": 478072,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "1658d9f1fe7f6899ce02b9ca2ab1ab785f8094cd",
        "phabricator_id": 253118,
        "phabricator_phid": "PHID-DREV-yotdp35be26ju6yfruzl",
        "title": "Bug 1970973 - part2 : Support full parsing for AVCCConfig.",
        "bugzilla_id": 1970973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478072/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478072/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253118"
    },
    "phid": "PHID-DIFF-r3ygiqvtwofncyysw4yy",
    "review_task_id": "NwzK_IP3RL-bmNlBjAnhOA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "451dbcc7241993dba00e223914230cf4b11964bd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064418/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:22:23.247298Z"
}