List and retrieve diffs with detailed revision information

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

{
    "id": 1071929,
    "revision": {
        "id": 484923,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8934448a21ca9a774ccfb9cfc51303bda7e1577a",
        "head_changeset": "64cf6922f5486e1315fcc4113b2e5162768586ec",
        "phabricator_id": 254896,
        "phabricator_phid": "PHID-DREV-u4ly6jytsu4r3f4oe4ug",
        "title": "Bug 1718998 - Document behaviour of nsIMsgDatabase.getMsgHdrForKey()/.firstNew, and nsIMsgFolder.firstNewMessage. r=#thunderbird-reviewers",
        "bugzilla_id": 1718998,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484923/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484923/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254896"
    },
    "phid": "PHID-DIFF-2u4eruoiha7g67bdv7jo",
    "review_task_id": "VA0wQ_SlQNSnx94lJ6v-pQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "64cf6922f5486e1315fcc4113b2e5162768586ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071929/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T00:06:13.623857Z"
}