List and retrieve diffs with detailed revision information

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

{
    "id": 1078933,
    "revision": {
        "id": 491601,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "12b9d1b9d4f16d2279ee824e2819c9437465c31b",
        "head_changeset": "8c9a483a626a59fd76ac60ff1d5f23f59fb80f41",
        "phabricator_id": 256329,
        "phabricator_phid": "PHID-DREV-7i72n5afbhurwhyz6dea",
        "title": "Bug 1974682 - Don't create HTML element accessibles. r?morgan",
        "bugzilla_id": 1974682,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491601/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491601/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256329"
    },
    "phid": "PHID-DIFF-ry2rnbqw7kfvouuwl2su",
    "review_task_id": "GD-YZLlbSqCctoGG3ryu6A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8c9a483a626a59fd76ac60ff1d5f23f59fb80f41",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078933/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T18:38:54.372187Z"
}