List and retrieve diffs with detailed revision information

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

{
    "id": 1077146,
    "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-twsduyezuvsicgkdqge7",
    "review_task_id": "ClYtbSxGSP2aCneeSwJ2Vg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1c19028a43da47fbb8e9970092ceaf10073a8fa9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077146/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T01:20:22.421239Z"
}