List and retrieve diffs with detailed revision information

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

{
    "id": 1076171,
    "revision": {
        "id": 489103,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "731056f8f14e102eec5ac9a634af385cbea2432b",
        "phabricator_id": 255680,
        "phabricator_phid": "PHID-DREV-agdb5hjksnefsa3qafwh",
        "title": "Bug 627771: Enable dithering for hardware-accelerated linear gradients r=gw",
        "bugzilla_id": 627771,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489103/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489103/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255680"
    },
    "phid": "PHID-DIFF-yyybrakmdwwnhrzrbvon",
    "review_task_id": "W1ch5BGITgKdA0fsRzzy1g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "731056f8f14e102eec5ac9a634af385cbea2432b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076171/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T17:28:54.705705Z"
}