List and retrieve diffs with detailed revision information

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

{
    "id": 1072654,
    "revision": {
        "id": 476083,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "789198a042fcfe8cff755b1da0e9d3bed635093f",
        "head_changeset": "06c0be1580d13f945f237017544bc87b275336f9",
        "phabricator_id": 250804,
        "phabricator_phid": "PHID-DREV-rso2bpp7yhixfunix3nv",
        "title": "WIP: Bug 1953740 - part 7 - Use a new Composable for showing search suggestions",
        "bugzilla_id": 1953740,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476083/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476083/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250804"
    },
    "phid": "PHID-DIFF-hqafgbniervum5gbqqmm",
    "review_task_id": "VZ9LRwg9QLG9EcFDL2JZIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed4520687b4a5bfa98c95c086d2baa181c7aa7ac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072654/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T19:59:38.279511Z"
}