List and retrieve diffs with detailed revision information

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

{
    "id": 1108328,
    "revision": {
        "id": 515719,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46b830b8da634ea57c29d3bb51442f9e98960277",
        "head_changeset": "e3226343ee0f336276eed88afca1fbfca5dd3f9d",
        "phabricator_id": 261495,
        "phabricator_phid": "PHID-DREV-wsbx7svkd46el5zo2wor",
        "title": "WIP: Bug 1978232 - Minor cleanup for EncoderAgent",
        "bugzilla_id": 1978232,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515719/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515719/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261495"
    },
    "phid": "PHID-DIFF-nfgmrhhgj3bw2kqyizxf",
    "review_task_id": "EjNipE0yTeWLbXqO8XQ9xQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e3226343ee0f336276eed88afca1fbfca5dd3f9d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108328/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T00:24:10.839219Z"
}