List and retrieve diffs with detailed revision information

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

{
    "id": 1111274,
    "revision": {
        "id": 519954,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "45bf2e916b52765b4799adc88bb5062a0abe5928",
        "head_changeset": "e6e1a18975d2ff36ff95a7281469ee0f2424dd72",
        "phabricator_id": 262369,
        "phabricator_phid": "PHID-DREV-2vu7lwkfyowdhuzxjs3c",
        "title": "Bug 1924357 - When setting up external gnupg, show import public key page if we didn't have the key. r=kaie",
        "bugzilla_id": 1924357,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519954/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519954/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262369"
    },
    "phid": "PHID-DIFF-atjoy5664it72ga5vsur",
    "review_task_id": "ckJADS6QTIWaSiHaXALBPA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "be01e239331a702078a3c52ff6edb827442c3dd3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T18:29:23.141148Z"
}