List and retrieve diffs with detailed revision information

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

{
    "id": 1078563,
    "revision": {
        "id": 491336,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9568e4486202d1c6e9c833362fe67e1fe3e1263e",
        "head_changeset": "01d211911bec0ec7feeb5224f9423bb218a7a49a",
        "phabricator_id": 256221,
        "phabricator_phid": "PHID-DREV-rjun2k63rkk5sdweuews",
        "title": "WIP: Bug 1972581 - [devtools] Flush the watcher resources on target destroy",
        "bugzilla_id": 1972581,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491336/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491336/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256221"
    },
    "phid": "PHID-DIFF-qe3gylifywuxkevcrm3r",
    "review_task_id": "DXbfibnlQliukkJPq5AB-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "01d211911bec0ec7feeb5224f9423bb218a7a49a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078563/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T06:33:55.311337Z"
}