List and retrieve diffs with detailed revision information

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

{
    "id": 1097434,
    "revision": {
        "id": 502796,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9787fa16b8215f752e96d8e3dd1c71fcc742a652",
        "head_changeset": "d988e6d362cf777c011e9305897767d81b3491ec",
        "phabricator_id": 258987,
        "phabricator_phid": "PHID-DREV-azfy42aiv7jaz77kt2wf",
        "title": "Bug 1979708 - URL bar actions should appear before suggest results. r?#urlbar-reviewers",
        "bugzilla_id": 1979708,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/502796/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/502796/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258987"
    },
    "phid": "PHID-DIFF-xxomoxldq42djb6hh2h4",
    "review_task_id": "NDAluhEHS8q7ZNnFeZrPXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d60f2f3e3a89182a2239149ef5a39d0b7444c666",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097434/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T14:34:22.387258Z"
}