List and retrieve diffs with detailed revision information

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

{
    "id": 1095461,
    "revision": {
        "id": 500893,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d294461d9b29c16dbc13481b18f12612d366a597",
        "head_changeset": "6cf2359c28c5903046977a51824a9c11faf57387",
        "phabricator_id": 258612,
        "phabricator_phid": "PHID-DREV-galf4bthqedumhc5w4qa",
        "title": "Bug 1884148 - Ship the Atomics.waitAsync proposal; r=mgaudet",
        "bugzilla_id": 1884148,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500893/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500893/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258612"
    },
    "phid": "PHID-DIFF-2yv3tnrhve6jjy7uukfe",
    "review_task_id": "NIpsG_bFRyu3-YaGrhz2PA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6cf2359c28c5903046977a51824a9c11faf57387",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095461/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T18:58:00.772060Z"
}