List and retrieve diffs with detailed revision information

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

{
    "id": 1053518,
    "revision": {
        "id": 475237,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "b701ef0555d032ada852e8d1483695d41ae468b8",
        "head_changeset": "c776c58f1b806b26bb4102fa7e0839c85a29e23b",
        "phabricator_id": 249664,
        "phabricator_phid": "PHID-DREV-g6wvbn35wqu633fwasbe",
        "title": "Bug 1966578 - Ensure event box is visible before opening dialog. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1966578,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475237/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475237/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249664"
    },
    "phid": "PHID-DIFF-cu3ejpdvly2oew6giiep",
    "review_task_id": "AjxwgwOhRxmKRQXhxaYOPg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "831755f3000a2dcb372195960e67abcb6d08672a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053518/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T14:00:03.999730Z"
}