List and retrieve diffs with detailed revision information

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

{
    "id": 1081333,
    "revision": {
        "id": 482052,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "5c7c6b24596f81f5c98d218f33ef6b7e6c2ad9cb",
        "phabricator_id": 254336,
        "phabricator_phid": "PHID-DREV-je4mffgmk7x7w3coe6y6",
        "title": "Bug 1971035 - Opening Website header link should not re-encode the URL before opening it. r=#thunderbird-reviewers",
        "bugzilla_id": 1971035,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482052/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482052/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254336"
    },
    "phid": "PHID-DIFF-w4zogdw5hqpv5tybabjw",
    "review_task_id": "Wq97ETfbTcuNUGkpkk_Xzw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1ef1ba9e762c44abbad55335399a2c82a5f5b26f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081333/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T08:04:17.046190Z"
}