List and retrieve diffs with detailed revision information

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

{
    "id": 1073125,
    "revision": {
        "id": 485662,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a119201a9b17aae5f30f8913ae863077949beafa",
        "head_changeset": "f9f689efd516a6063578fb9228265162e105f944",
        "phabricator_id": 255083,
        "phabricator_phid": "PHID-DREV-hwax23g6hamughzptayz",
        "title": "Bug 1974155 - Introduce Http2StreamQueueManager to encapsulate HTTP/2 stream queues, r=#necko",
        "bugzilla_id": 1974155,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485662/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485662/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255083"
    },
    "phid": "PHID-DIFF-2ombh4o3pijapsqk2cmt",
    "review_task_id": "MzP5X9WzRo6509amW0kX4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f9f689efd516a6063578fb9228265162e105f944",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073125/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T08:16:06.826142Z"
}