List and retrieve diffs with detailed revision information

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

{
    "id": 1093944,
    "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-bz7jrempyntwtrzrskxt",
    "review_task_id": "anYvPNjPQcKbur7qJXz3qA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "93759bf2bfe374cddcc3d1d4c608a22f3bf4340e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093944/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T01:26:27.068822Z"
}