List and retrieve diffs with detailed revision information

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

{
    "id": 1081028,
    "revision": {
        "id": 489686,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ed937ee84a5da70eaebe00b2fb66bd57ee3a8e6",
        "head_changeset": "0e6af4d723fe71e8ec74966e898630301647797f",
        "phabricator_id": 255853,
        "phabricator_phid": "PHID-DREV-grzdy2xblrrjo72y3qni",
        "title": "Bug 1942107 - Part 1: format test_moz_reorderable_list.html r=#recomp-reviewers",
        "bugzilla_id": 1942107,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489686/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489686/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255853"
    },
    "phid": "PHID-DIFF-54rgllhilje3dkfzrqpb",
    "review_task_id": "Qk6h6iiwSYCuI8MGRRjaHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ffb75c29aeecfd28e8c907351fbf3d91cafe448d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081028/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T19:02:12.331555Z"
}