List and retrieve diffs with detailed revision information

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

{
    "id": 1079545,
    "revision": {
        "id": 492276,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "576749015756926d73519d2d1ee68355554f1382",
        "phabricator_id": 256482,
        "phabricator_phid": "PHID-DREV-iwfpdzx7rdjldz74daco",
        "title": "Bug 1956467 - Disable perma-failing comm/calendar/test/browser/invitations/browser_icsAttachment.js for mac. r=edicharry",
        "bugzilla_id": 1956467,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492276/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492276/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256482"
    },
    "phid": "PHID-DIFF-ni7pys3he32yxvi73eb7",
    "review_task_id": "bK_oY-xkSQWJsV0IpFhekQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "576749015756926d73519d2d1ee68355554f1382",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079545/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T16:09:20.984156Z"
}