List and retrieve diffs with detailed revision information

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

{
    "id": 1055263,
    "revision": {
        "id": 477790,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3956e82e88cb2736031fb393e86e6df4fc898b24",
        "head_changeset": "9f1e75ad3f3814e65c271b89334b5c748188c7d0",
        "phabricator_id": 252939,
        "phabricator_phid": "PHID-DREV-i4lhyuasfbq3uubg4rvv",
        "title": "Bug 1970994 - Port Revert Bug 1967104 - Use image light-dark() for titlebar icons for causing bug 1968922. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1970994,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477790/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477790/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252939"
    },
    "phid": "PHID-DIFF-nrqo5iwjjteojog5atwx",
    "review_task_id": "J2zRurcCQXW0IWq7cNDoFA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dd20dd2b3f4eb46e08fe8931e7b2a0b52c17906d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055263/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:38:10.321037Z"
}