List and retrieve diffs with detailed revision information

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

{
    "id": 1108421,
    "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-ckafd2dwnjb2omh4qbbk",
    "review_task_id": "XJ3jhkckT7-yzwK15k5RFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "efd1a02aba1cdf1c7f6e147560378160a0929ba1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108421/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T03:39:10.471756Z"
}