List and retrieve diffs with detailed revision information

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

{
    "id": 1076173,
    "revision": {
        "id": 489105,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "58999038ba5e15f9ab80bdb938ef57e9666e957e",
        "phabricator_id": 255681,
        "phabricator_phid": "PHID-DREV-hlzwexzjzgnng6ekokqx",
        "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/489105/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489105/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255681"
    },
    "phid": "PHID-DIFF-a5tgblmkddvvg5o3hi6m",
    "review_task_id": "LaFBVxosQD-7XFZ7my3Huw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58999038ba5e15f9ab80bdb938ef57e9666e957e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076173/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T17:29:06.732022Z"
}