List and retrieve diffs with detailed revision information

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

{
    "id": 1075728,
    "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-uwgxi2f5d573x6xcsezr",
    "review_task_id": "YotqGvekSG-C8H_mP-tMsw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "07bbc79204b20d55e2244ff5001aef2fc1bd4367",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075728/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T05:28:21.927487Z"
}