List and retrieve diffs with detailed revision information

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

{
    "id": 1055399,
    "revision": {
        "id": 397590,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "bc155c5c8db37a5e38d130b3175d60522812ed6e",
        "phabricator_id": 229081,
        "phabricator_phid": "PHID-DREV-rnqo2w2baghalpzsy46q",
        "title": "Bug 1885221, part 11 - Remaining changes, including things we don't want to land. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397590/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397590/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229081"
    },
    "phid": "PHID-DIFF-fsia6r66oy256xf32qyp",
    "review_task_id": "LNoU69d4TNi0GyINnpJMLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e397ef2e17a2d58cb58165e79ea3e9eb75c24eaf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055399/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T20:49:32.820905Z"
}