List and retrieve diffs with detailed revision information

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

{
    "id": 1109386,
    "revision": {
        "id": 516964,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "faed0a907d1b6013c726c699b1266fb8376e3655",
        "head_changeset": "ea4e30684e930ba3fbb975402f6477431a6c7395",
        "phabricator_id": 261944,
        "phabricator_phid": "PHID-DREV-mpwjlhrr4qurj54u2v7x",
        "title": "Bug 1981742 - Try to fix browser_accountHubAbRemote.js address book tab errors. r=#thunderbird-reviewers",
        "bugzilla_id": 1981742,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516964/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516964/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261944"
    },
    "phid": "PHID-DIFF-mzlmhbfslgkyceegoen4",
    "review_task_id": "NkRCr6rkRMGydDPrYNzMoQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ea4e30684e930ba3fbb975402f6477431a6c7395",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109386/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T13:06:25.901153Z"
}