List and retrieve diffs with detailed revision information

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

{
    "id": 1076147,
    "revision": {
        "id": 489076,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "90b28cf9504ce4c62f3e571e9524083734bb6a12",
        "phabricator_id": 255671,
        "phabricator_phid": "PHID-DREV-6ezg345qsimdcuqsidbd",
        "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/489076/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489076/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255671"
    },
    "phid": "PHID-DIFF-k5s75tibwxjyeqpf73mj",
    "review_task_id": "PuD-DzzSRDG8Q33jWSRsWg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "90b28cf9504ce4c62f3e571e9524083734bb6a12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T16:51:14.065837Z"
}