List and retrieve diffs with detailed revision information

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

{
    "id": 1051048,
    "revision": {
        "id": 476328,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "56e7791c94170122c7030d1ee221483af2bc535c",
        "head_changeset": "e02aa95eb592ff200359a803c2969e8b816395c3",
        "phabricator_id": 251173,
        "phabricator_phid": "PHID-DREV-t33yietjgx4a2vcmlxla",
        "title": "WIP: Bug 1679997 - Add cssOrigin to declarative contentScripts API. r=zombie",
        "bugzilla_id": 1679997,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476328/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476328/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251173"
    },
    "phid": "PHID-DIFF-osytlvp4jnsiyppscx5b",
    "review_task_id": "Yb-2JP-XQyewJojKbEEDSA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b88dc3bd01ff70ff7766cedd4a022b40c2bfbde0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051048/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T14:33:35.908796Z"
}