List and retrieve diffs with detailed revision information

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

{
    "id": 1040353,
    "revision": {
        "id": 475938,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c0c0c3588a1771997e37983e257c85b8e3eb9e88",
        "head_changeset": "36931fa3971bb8699b8b5ab4af832f2c51c0e946",
        "phabricator_id": 250528,
        "phabricator_phid": "PHID-DREV-34zagqt3tnkm42gkcnzb",
        "title": "Bug 1967846 - add support for request header modification to the webcompat addon; r?denschub",
        "bugzilla_id": 1967846,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475938/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475938/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250528"
    },
    "phid": "PHID-DIFF-66xamyktuwwy5hli3zrb",
    "review_task_id": "KsUOb5nySGaQCXN9BUMtFw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36931fa3971bb8699b8b5ab4af832f2c51c0e946",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040353/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T22:35:19.422146Z"
}