List and retrieve diffs with detailed revision information

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

{
    "id": 1052782,
    "revision": {
        "id": 474642,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "888224a45dddbf97bd66d7f2f96b64113585afce",
        "head_changeset": "503eb28023b3371caa4dffa9b25f98ce4af58816",
        "phabricator_id": 248652,
        "phabricator_phid": "PHID-DREV-7dax35utr5mt3u3nydya",
        "title": "Bug 1933685 Part 5 - Concurrent Delazification: Only allocate relative indexes when needed.",
        "bugzilla_id": 1933685,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474642/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474642/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248652"
    },
    "phid": "PHID-DIFF-43e2o4jmbpum54cr3r4j",
    "review_task_id": "cT9MltP2R1iBxMx29N1RxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "78b5a683d0e31484c72345d9b18102e9b8f1789b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052782/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:30:16.433554Z"
}