List and retrieve diffs with detailed revision information

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

{
    "id": 1035353,
    "revision": {
        "id": 475346,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "bc89e00ba4472ab7e1cef8c992211adff0050c35",
        "phabricator_id": 249791,
        "phabricator_phid": "PHID-DREV-ctkhrb5enwqd45jtatp2",
        "title": "Bug 1966890 - Use brighttext for dark titlebar icons. r=#theme",
        "bugzilla_id": 1966890,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475346/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475346/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249791"
    },
    "phid": "PHID-DIFF-ffgyu2avcpiytq6lvzp4",
    "review_task_id": "JtYbQP_lQleQdpJM0qerBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bc89e00ba4472ab7e1cef8c992211adff0050c35",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035353/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:14:42.398294Z"
}