List and retrieve diffs with detailed revision information

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

{
    "id": 1075729,
    "revision": {
        "id": 484963,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8934448a21ca9a774ccfb9cfc51303bda7e1577a",
        "head_changeset": "9941c135b06b36441ed353c8148cb98d06a605be",
        "phabricator_id": 254901,
        "phabricator_phid": "PHID-DREV-b2qceqe6htu4eul6xxam",
        "title": "Bug 1970018: Treat unread messages as new when adding to PerFolderDatabase. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484963/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484963/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254901"
    },
    "phid": "PHID-DIFF-ajqyusaraio2czfmdzj2",
    "review_task_id": "Cf2FsQj4TIaAknidNrBubg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ecdf06d8af0917976ec44c6fd98e2b2ecdb0c072",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075729/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T05:28:41.741499Z"
}