List and retrieve diffs with detailed revision information

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

{
    "id": 1088547,
    "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-2cpqrdutf6yt5xdqn2cd",
    "review_task_id": "Ge6Qo7UJTJ2WpVQ-RHh5yQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4b92eb17a55ab10ff5482b62011b5e9201ccb8a4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088547/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T04:24:17.334829Z"
}