List and retrieve diffs with detailed revision information

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

{
    "id": 1054242,
    "revision": {
        "id": 477627,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1842bb00f5c062f3d468372c2b4cf502181f62fb",
        "head_changeset": "8d8189cea9294bc2a9da9c317d0827f6aedf37ed",
        "phabricator_id": 252749,
        "phabricator_phid": "PHID-DREV-mcrdal3kkp6gtnarw6py",
        "title": "WIP: Bug 1970720 - Change tabId to browsingContext.top.id",
        "bugzilla_id": 1970720,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477627/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477627/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252749"
    },
    "phid": "PHID-DIFF-umokdf5q6jllsuxq5oy6",
    "review_task_id": "RP49zGr2RCG5JgAO1QHQOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dd5ce35aaf2da65f5fa2b9b67bc94721fc165882",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054242/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T11:42:26.384547Z"
}