List and retrieve diffs with detailed revision information

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

{
    "id": 1078397,
    "revision": {
        "id": 489182,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54a611ea13cac0fc5ac320b75cbed38818123c88",
        "head_changeset": "21557336ed9cfb381b96221f4c733ac8ac6e96f3",
        "phabricator_id": 255710,
        "phabricator_phid": "PHID-DREV-bm2fnnuum3frk7w4ckfw",
        "title": "Bug 627771: Enable dithering for software-rendered radial gradients r=gw",
        "bugzilla_id": 627771,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489182/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489182/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255710"
    },
    "phid": "PHID-DIFF-2gcnqc3jdaj46fmzdxaj",
    "review_task_id": "J7OweWs4SP2yCVIDizDmRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35c33857650839a53ec9a2ae150d52e18ab01aa6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T17:47:27.291736Z"
}