List and retrieve diffs with detailed revision information

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

{
    "id": 1098564,
    "revision": {
        "id": 471572,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8709233e47fc77a2423ca3f5f88081979a49f309",
        "head_changeset": "da5443a1eba5cc6c80bd3c6bbf864abd906ad4c2",
        "phabricator_id": 244390,
        "phabricator_phid": "PHID-DREV-cvikfkuir6f47kb2efgv",
        "title": "Bug 1941441 - Invoke nsAsyncIOManager in CacheFileIOManager. r?#necko-reviewers",
        "bugzilla_id": 1941441,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471572/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471572/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244390"
    },
    "phid": "PHID-DIFF-fu2unoaicxc62jn65j5r",
    "review_task_id": "QL_AAE3AQkucVA2jcqLMSA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b655a1bf0fb10362e304a9a2e10a4df9c1ab36af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098564/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T23:43:53.850622Z"
}