List and retrieve diffs with detailed revision information

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

{
    "id": 1094832,
    "revision": {
        "id": 496069,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5a67c9bacc4ce0718c6a2c3b6cc020d329e25717",
        "head_changeset": "4e53817e6fe986fe4b27606c577aab524f541534",
        "phabricator_id": 257417,
        "phabricator_phid": "PHID-DREV-vf2n45gwidasyb4zqiqv",
        "title": "WIP: Bug 1972249 - Release in-band events from ProcessOutput to prevent leak",
        "bugzilla_id": 1972249,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496069/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496069/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257417"
    },
    "phid": "PHID-DIFF-4wwzrzpo6nmukujfyt4j",
    "review_task_id": "BBtDniWGR9GKOt0i7nceAA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "48ca1227b2fc70efcb7b3a75fa27a9878fd7b56d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094832/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T23:47:47.251563Z"
}