List and retrieve diffs with detailed revision information

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

{
    "id": 1078976,
    "revision": {
        "id": 491617,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d976124c31feee6dcd40610b565e92b9375078d1",
        "head_changeset": "91db16724529d5a98e155488433642d63caad20b",
        "phabricator_id": 256340,
        "phabricator_phid": "PHID-DREV-mjt2cyki3b7ynqivilvc",
        "title": "Bug 1976078 - Clean up testIframeNavigationIsIgnored to remove requestLongerTimeout and clarify async code. r=nrishel",
        "bugzilla_id": 1976078,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491617/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491617/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256340"
    },
    "phid": "PHID-DIFF-rwtrpf7taqo3mdy523fy",
    "review_task_id": "KAFb7yTjQxuHfaGPrjFTTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91db16724529d5a98e155488433642d63caad20b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078976/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:15:20.220288Z"
}