List and retrieve diffs with detailed revision information

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

{
    "id": 1103072,
    "revision": {
        "id": 508967,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a4fcd08c524d853567c8d83997160666b69b26fd",
        "head_changeset": "b5430cea9aa06c06754b41e039686729da4bb287",
        "phabricator_id": 260420,
        "phabricator_phid": "PHID-DREV-lx7iaqqjwjhdlcuukimo",
        "title": "Bug 1981916 - Use the same version of clang as the build for wrench build that uses gallium.",
        "bugzilla_id": 1981916,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508967/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508967/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260420"
    },
    "phid": "PHID-DIFF-dwbx27uzcfivubbrnkdk",
    "review_task_id": "GmjC7RCZTRS4m-Fw_GLjkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5430cea9aa06c06754b41e039686729da4bb287",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103072/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T07:18:58.420042Z"
}