List and retrieve diffs with detailed revision information

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

{
    "id": 1111118,
    "revision": {
        "id": 519427,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "ddafaae0847c35f5d1cd1781631fba328d694398",
        "phabricator_id": 262254,
        "phabricator_phid": "PHID-DREV-7c36acxrba5rpdwqodsy",
        "title": "Bug 1984889 - Change local network access prompt text from 'Don't ask again for this site' to 'Remember my choice for this site'. r=emz",
        "bugzilla_id": 1984889,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519427/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519427/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262254"
    },
    "phid": "PHID-DIFF-b6ftt6x6xc3jbhvephbf",
    "review_task_id": "bi6V4Zt_R5KbDSPwLXGQ2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5b62cd2c697126c5c1b71e8ee29de56f2808fd97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111118/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T15:17:56.205231Z"
}