List and retrieve diffs with detailed revision information

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

{
    "id": 1078619,
    "revision": {
        "id": 491352,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6628f1a357a258b06c5f8e1480eba76857df6aeb",
        "head_changeset": "3629b3eb550f014109e3c9efd8629577fd33b5c5",
        "phabricator_id": 256233,
        "phabricator_phid": "PHID-DREV-dc4qyyo5jzbxz3q2q46s",
        "title": "Bug 1975377 - Fix win32 opt perma - comm/mail/test/browser/downloads/browser_aboutDownloads.js by using CustomEvent attachmentSaved. r=#thunderbird-reviewers",
        "bugzilla_id": 1975377,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491352/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491352/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256233"
    },
    "phid": "PHID-DIFF-uiifhnzxxwoi3egm5nmb",
    "review_task_id": "T3N64CAHQf6A2ESgB_QDrQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1224253f5ab82a1eb540a8d20188ffc8e418e170",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078619/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T09:20:53.266883Z"
}