List and retrieve diffs with detailed revision information

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

{
    "id": 1108434,
    "revision": {
        "id": 510070,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0af0dcab9b7d528ac3335a38fc02ea78e00ef66a",
        "head_changeset": "f87fdfd4fd2d603429bb83618d3596119f7ce662",
        "phabricator_id": 260588,
        "phabricator_phid": "PHID-DREV-ougddzwxp3fr3grwpmrv",
        "title": "Bug 1973655 - part 2: Make `HTMLEditorMutationObserver.cpp` r=m_kato!",
        "bugzilla_id": 1973655,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510070/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510070/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260588"
    },
    "phid": "PHID-DIFF-7cmq4juxdehj4kxcsjdb",
    "review_task_id": "Tu0xHJV-S8Cx2Dx6q4id9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "66bc7958d5d5dffec98474ae2452ab86818539e2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108434/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T04:26:24.240156Z"
}