List and retrieve diffs with detailed revision information

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

{
    "id": 1075807,
    "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-vv5chtumq2i3jekh2wkf",
    "review_task_id": "Uh_v9UxMTvGA3JaZLhv6_Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2fb46881e6513660c235d6f7de6676518bbda10d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075807/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T08:00:22.875056Z"
}