List and retrieve diffs with detailed revision information

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

{
    "id": 1041143,
    "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-nai5gxgwembawmtp4bgn",
    "review_task_id": "BFzA3VBiSsGrIYFCEy0oPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "137318c4b9bb1a40603e34d73c38c7644ef7eaae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041143/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T14:02:14.469131Z"
}