List and retrieve diffs with detailed revision information

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

{
    "id": 1105494,
    "revision": {
        "id": 511762,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "78b091eca27eaa95178b2b4e25da30c04f40bcfb",
        "head_changeset": "d568fc05783877adbebe9ec4128c46fa55e52190",
        "phabricator_id": 260538,
        "phabricator_phid": "PHID-DREV-ruzxod3ibpnbu7ag2rev",
        "title": "WIP: Bug 1977726 — Add error message and state to the IP Protection panel",
        "bugzilla_id": 1977726,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511762/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511762/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260538"
    },
    "phid": "PHID-DIFF-k4iqyossvd4rzzdw4ugf",
    "review_task_id": "er2UP3qZSFa6K5ZhNjC0YA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f6e1bd3b5df0c954be9834691fb6ee63c55df02",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105494/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T16:44:17.308444Z"
}