List and retrieve diffs with detailed revision information

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

{
    "id": 1112370,
    "revision": {
        "id": 521457,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "5816c16780cac04ff1722e3385173a612195a95f",
        "phabricator_id": 262694,
        "phabricator_phid": "PHID-DREV-kereirfv7uu34uev6hzb",
        "title": "Bug 1982341 - Extend the menu below the system navigation bar",
        "bugzilla_id": 1982341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521457/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521457/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262694"
    },
    "phid": "PHID-DIFF-h76eogf6gjcqctdo3ngs",
    "review_task_id": "TQuNsOSDTPWdarizuifw4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5816c16780cac04ff1722e3385173a612195a95f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:45:05.945342Z"
}