List and retrieve diffs with detailed revision information

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

{
    "id": 1088583,
    "revision": {
        "id": 491350,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cddd67bf463482e2460e448f904218923e31f047",
        "head_changeset": "84626e36b3090a2eccc5da4324adb1f822a790f0",
        "phabricator_id": 256230,
        "phabricator_phid": "PHID-DREV-gnr3ldge2wovrtelrl2g",
        "title": "Bug 1975636: TIP type result uses rich suggestion template",
        "bugzilla_id": 1975636,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491350/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491350/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256230"
    },
    "phid": "PHID-DIFF-3iectn6cy6t7grusjekj",
    "review_task_id": "VR70VQ_tTvO2hIFKtnCEbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "31ab2d5711d1cedc1a6b3afc9a6bb8b517047f10",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088583/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T07:56:01.743942Z"
}