List and retrieve diffs with detailed revision information

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

{
    "id": 1053767,
    "revision": {
        "id": 477624,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1842bb00f5c062f3d468372c2b4cf502181f62fb",
        "head_changeset": "3dfd7193559b67d78419e8f501e06ffa5fd5fefa",
        "phabricator_id": 252734,
        "phabricator_phid": "PHID-DREV-qwccvy3rizt6xyu2w5ds",
        "title": "Bug 1970708 - Backout fix for Bug 1969092 r=mpohle",
        "bugzilla_id": 1970708,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477624/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477624/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252734"
    },
    "phid": "PHID-DIFF-fcufh5lfz37nykjooyzl",
    "review_task_id": "dRhfuqZlSSWD2FBj74zbKQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3dfd7193559b67d78419e8f501e06ffa5fd5fefa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053767/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T18:27:52.140234Z"
}