List and retrieve diffs with detailed revision information

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

{
    "id": 1038274,
    "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-4l2sus7g5isgolcks7v4",
    "review_task_id": "AeroPzqkQrKRquYfoffrOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a617a41f3da98962aed1d13a1af8a0656ed9ed15",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T12:27:08.771857Z"
}