List and retrieve diffs with detailed revision information

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

{
    "id": 1089025,
    "revision": {
        "id": 477161,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fda014b5613fab6c65dcd1e47b7770c92fda3098",
        "head_changeset": "a35989fee8908665120f3206a57105132015782c",
        "phabricator_id": 251968,
        "phabricator_phid": "PHID-DREV-eyfy3a7jtotb6avfmafc",
        "title": "WIP: Bug 1889757 Part 5: Define a NativeLayerCA variant that receive an IOSurfaceRef directly.",
        "bugzilla_id": 1889757,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477161/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477161/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251968"
    },
    "phid": "PHID-DIFF-awlfhi5y5euma3w64tax",
    "review_task_id": "MxqIMjY5QC-qeRSCrN2mNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2c941a82c4d9bc69fd67a926291a6818f22f26b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089025/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-19T01:11:37.752886Z"
}