List and retrieve diffs with detailed revision information

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

{
    "id": 1055906,
    "revision": {
        "id": 477883,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "905d8d08941a80caad2ad06484df0d7d64d1d276",
        "head_changeset": "6fa22474c9bb423630caa826beacf503b21a6734",
        "phabricator_id": 253037,
        "phabricator_phid": "PHID-DREV-icqmamgtikynfgl65x3s",
        "title": "Bug 1971136: Add action to WebGPU CTS r?ErichDonGubler",
        "bugzilla_id": 1971136,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477883/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477883/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253037"
    },
    "phid": "PHID-DIFF-hs62w5kvab6andno7biy",
    "review_task_id": "C75xP5doQaCgyhhna8FNmA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b69e8447b1a8a7dba4216cefb5deead7fb8c573d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055906/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:12:52.944979Z"
}