List and retrieve diffs with detailed revision information

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

{
    "id": 1057911,
    "revision": {
        "id": 478314,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "60cc1e5b2a2e1e1b0de86f3ba5ded74d3468ca0c",
        "head_changeset": "8ebba975144f387a1c1e661f3b7f7f7645525cbb",
        "phabricator_id": 253562,
        "phabricator_phid": "PHID-DREV-46rudan36d5yzvdepaw4",
        "title": "Bug 1971856 - Fix build bustage: include nsPrintfCString.h where (now) needed. r=#thunderbird-reviewers",
        "bugzilla_id": 1971856,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478314/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478314/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253562"
    },
    "phid": "PHID-DIFF-waa43cizhwj3zlmeyaij",
    "review_task_id": "ANBHET6PRgmHNt5Bxi5g6Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8ebba975144f387a1c1e661f3b7f7f7645525cbb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057911/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T19:25:24.989733Z"
}