List and retrieve diffs with detailed revision information

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

{
    "id": 1110646,
    "revision": {
        "id": 519148,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "cb8db487db95e5d44abc46eb351fc1e4365909ff",
        "head_changeset": "48b0d5ad0abff4bd13ee5734836e5e548e02b010",
        "phabricator_id": 262234,
        "phabricator_phid": "PHID-DREV-m6quy7smvnzzbzrdhen6",
        "title": "Bug 1984814 - Codespell mailnews/. r=mkmelin",
        "bugzilla_id": 1984814,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519148/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519148/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262234"
    },
    "phid": "PHID-DIFF-g7crgh3xfeive5spoclm",
    "review_task_id": "IeUdaqQsRFKwji38atsseQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "93db54968c5a4047741a01ca9a220bd4fc5e3963",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110646/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T12:35:18.451677Z"
}