List and retrieve diffs with detailed revision information

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

{
    "id": 1054912,
    "revision": {
        "id": 473387,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "436fd8570f7862338edd1df6f524e3b267582b3b",
        "head_changeset": "28bb804c2a244ad6fcfe44da772707bcfde55dc2",
        "phabricator_id": 246609,
        "phabricator_phid": "PHID-DREV-febjghxbvxczo37nyaeu",
        "title": "Bug 1962129 - QM: Extend Map to support mapping from non-exclusive to exclusive MozPromise; r=#dom-storage",
        "bugzilla_id": 1962129,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473387/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473387/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246609"
    },
    "phid": "PHID-DIFF-dexnyczy7uzg2775omkl",
    "review_task_id": "TqDhF8_tT0Op8Av4Lh1VPQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "075221d1e27e2d9125d2cbef79b2889549e82fff",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054912/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T06:07:32.447210Z"
}