List and retrieve diffs with detailed revision information

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

{
    "id": 1086943,
    "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-aepajek46wbl2aeijvph",
    "review_task_id": "HBeeUD8FRlS_JQevkZudaQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "87c0025f2fc15484a842b8b7d03671a61bf58e0d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086943/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T07:20:11.235736Z"
}