List and retrieve diffs with detailed revision information

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

{
    "id": 1097173,
    "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-eezzqjvhfmngwh5ns4l2",
    "review_task_id": "QXSjA4AORP6o7r_IUEp7KQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bf1717cea15c2c54b519e4a9de82671f597427ad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097173/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T04:17:18.771536Z"
}