List and retrieve diffs with detailed revision information

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

{
    "id": 1104897,
    "revision": {
        "id": 508532,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cca3e1c9a2e76284c7f74b7e26a937c147ed3c3d",
        "head_changeset": "a881869a97aec6f33f9666f75aa30605ffd64eaa",
        "phabricator_id": 260377,
        "phabricator_phid": "PHID-DREV-l7icox4p6my2hahayvb2",
        "title": "WIP: Bug 1981147 - Updating when the terms of use bottom sheet trigger behavior",
        "bugzilla_id": 1981147,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508532/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508532/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260377"
    },
    "phid": "PHID-DIFF-ree5uyksdydslufs7y7k",
    "review_task_id": "OWHSQQLCRJS9zFwS1uo7Ng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "230b1b0f13ce5c3a591b6e626d6683cfeefac2e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104897/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T18:11:27.625339Z"
}