List and retrieve diffs with detailed revision information

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

{
    "id": 1076214,
    "revision": {
        "id": 489132,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e8c9d1af9da28113130fa2cf83499b1d53901de3",
        "head_changeset": "a16ab9edbbab5078533e8a01fd0e2d5feca9ce19",
        "phabricator_id": 255695,
        "phabricator_phid": "PHID-DREV-dqpr4eozffufyv6nh5w3",
        "title": "Bug 627771: Enable dithering for hardware-accelerated conic and radial gradients r=gw",
        "bugzilla_id": 627771,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489132/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489132/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255695"
    },
    "phid": "PHID-DIFF-nh7x6y6yxyhfdxdjgo54",
    "review_task_id": "XgDoUD5-QICHqBTCrug9PA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a16ab9edbbab5078533e8a01fd0e2d5feca9ce19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076214/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T18:45:34.892856Z"
}