List and retrieve diffs with detailed revision information

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

{
    "id": 1111291,
    "revision": {
        "id": 513871,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "30baf6b2bff923e8956ae286f4abc3a669c97e92",
        "head_changeset": "da77e6dd1dc795db634f3064643623ee7eb973b4",
        "phabricator_id": 261274,
        "phabricator_phid": "PHID-DREV-yowjg2ns2h62vj4dywju",
        "title": "Bug 1983260 - Support user avatar in menu",
        "bugzilla_id": 1983260,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513871/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513871/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261274"
    },
    "phid": "PHID-DIFF-kvdjunahms5wqualruax",
    "review_task_id": "dTZJZFwLTBy0J4WDTiJSWQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9c0f3241f20ea7fccf49feb2531118eb527dae8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111291/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T19:24:17.985387Z"
}