List and retrieve diffs with detailed revision information

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

{
    "id": 1112721,
    "revision": {
        "id": 518198,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "b2bf795be060e544f1522c73d2cbb2e3f67f2251",
        "phabricator_id": 262135,
        "phabricator_phid": "PHID-DREV-7zrbuetugn4phtgjkt3d",
        "title": "Bug 1984639 - Part 1: Rename code uses of no_shortcuts_stories_mkt to be more self evident",
        "bugzilla_id": 1984639,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518198/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518198/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262135"
    },
    "phid": "PHID-DIFF-fxbn7hl36bjt33stjmpb",
    "review_task_id": "RNaEO5RXRcm1TvTYAlVkxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "94c25bee4dda2379e36c1986a8caa26f1d54c985",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112721/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T11:27:46.767721Z"
}