List and retrieve diffs with detailed revision information

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

{
    "id": 1073909,
    "revision": {
        "id": 481958,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "0bb06dcf6571c81887e28bd649829ac4353d56e7",
        "head_changeset": "c8c23876e5b496d038ef4a1a386fd4b6905d7c53",
        "phabricator_id": 254314,
        "phabricator_phid": "PHID-DREV-tl7lqlakbxofjjpvsswi",
        "title": "Bug 1972810 - Account Hub Address Book LDAP Basic Form. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1972810,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481958/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481958/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254314"
    },
    "phid": "PHID-DIFF-7vazud6y4gzbwpc7cliu",
    "review_task_id": "AsJ8oSd-QvSM5KfdN4QNsw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "95a68e12b61d4accd11ad9472edcb3d35706627a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073909/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T23:52:19.888166Z"
}