List and retrieve diffs with detailed revision information

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

{
    "id": 1066160,
    "revision": {
        "id": 478285,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bdd8a4285af9b60a3e2f9b5917abac0c5e01d2ab",
        "head_changeset": "bada8b31e6d4f2d24b717b36f5840f069d52b1c8",
        "phabricator_id": 253521,
        "phabricator_phid": "PHID-DREV-f6emaudmwv2437sw3fyp",
        "title": "Bug 1971800 - Account Hub CardDav address book password step. r=freaktechnik",
        "bugzilla_id": 1971800,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478285/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478285/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253521"
    },
    "phid": "PHID-DIFF-kxzbnrscx2nstou3e5vr",
    "review_task_id": "Lbau-x0YT_Cj5tT71-WHoA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "3c52aa4ea6cea5bc960d8ce7e60f527e947c82e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066160/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T16:57:35.105285Z"
}