List and retrieve diffs with detailed revision information

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

{
    "id": 1079357,
    "revision": {
        "id": 492054,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "97016c4c86ddd5e5c83125447d73a5449f86f1e1",
        "head_changeset": "591c3efc63407b9d2acacda36fdf1d055718eb0e",
        "phabricator_id": 256432,
        "phabricator_phid": "PHID-DREV-2dwe7fdzm46leby5vu2u",
        "title": "Bug 1971161 [Wayland] Get HDR monitor info async r?emilio",
        "bugzilla_id": 1971161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492054/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492054/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256432"
    },
    "phid": "PHID-DIFF-hw47sxxtyj5rvh6ex3dh",
    "review_task_id": "ZD7rr0l2QmmlI1CJ8GeInw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "591c3efc63407b9d2acacda36fdf1d055718eb0e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079357/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T11:27:45.713277Z"
}