List and retrieve diffs with detailed revision information

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

{
    "id": 1037591,
    "revision": {
        "id": 470595,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "09f348af745eab241ff2ffd07a34d9f000855dd9",
        "head_changeset": "9b93b88e8ba020e174144673a21766c0a9c7b0e5",
        "phabricator_id": 243176,
        "phabricator_phid": "PHID-DREV-gjtjzvrwrt6ympzlu4o3",
        "title": "WIP: Bug 1930501 - Implement bfcache clearing for `Clear-Site-Data: \"cache\"`-header",
        "bugzilla_id": 1930501,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/470595/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/470595/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243176"
    },
    "phid": "PHID-DIFF-sxjic4dz47h7onrmzey6",
    "review_task_id": "VgezkTyySV6-X3De3tI2Bw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e52d5ccf3de2ab444f27ce5463f88b2b1b226172",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037591/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T14:42:12.911940Z"
}