List and retrieve diffs with detailed revision information

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

{
    "id": 1094695,
    "revision": {
        "id": 476458,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc29b20e4a319f6f225a21a240d9be1abb81371a",
        "head_changeset": "da37c74cbaa337c8d09ada323a1183e3bf209c29",
        "phabricator_id": 251394,
        "phabricator_phid": "PHID-DREV-cnv6qjevy5kxwtncw4xf",
        "title": "WIP: Bug 901050 - Part 3: Add an IPC::ChannelMach Backend, r=#ipc-reviewers!",
        "bugzilla_id": 901050,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476458/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476458/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251394"
    },
    "phid": "PHID-DIFF-oi2qmc3hnbajexf4kg5s",
    "review_task_id": "Bb-3cSLFTzSdyhc1JRKlMQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3ac7f24332354af658d6bca9cb55fb7b254329c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094695/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T19:25:22.424063Z"
}