List and retrieve diffs with detailed revision information

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

{
    "id": 1053091,
    "revision": {
        "id": 476252,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "f5319569440f1561a47eb2ed02abc2cc7e14615a",
        "head_changeset": "6bfee4792405389958b2619badcf6f7b9511a9d1",
        "phabricator_id": 251086,
        "phabricator_phid": "PHID-DREV-trdp44znum25i6ehr37s",
        "title": "WIP: Bug 1679333 - Move FolderLookupService to C++.",
        "bugzilla_id": 1679333,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476252/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476252/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251086"
    },
    "phid": "PHID-DIFF-x63tsbguma24xucpeqsu",
    "review_task_id": "I8jDf5jKTGuJ56zt2NbpPA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d09cc456f87f11c2e9e1fa9bb331e301fdb84230",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053091/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T20:44:59.494684Z"
}