List and retrieve diffs with detailed revision information

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

{
    "id": 1059024,
    "revision": {
        "id": 475795,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "872809f6db6f2e549c07ca9986628a9a4f084e4d",
        "head_changeset": "236412933912e3afcf263244c6b17781ea51e9b6",
        "phabricator_id": 249722,
        "phabricator_phid": "PHID-DREV-tcwwb4ufhe2dfzs7ji4y",
        "title": "Bug 1915742 - Update Taskbar Tabs command line handling to use the Taskbar Tabs window manager instead of creating the window directly. r=mossop,cdupuis,mpohle",
        "bugzilla_id": 1915742,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475795/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475795/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249722"
    },
    "phid": "PHID-DIFF-7inj3cgs4544m24cv7ie",
    "review_task_id": "BDYrI7-iTyen2b4f9S_5gg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40bb1412d7bf84eea3c12feb4a6189a8ffbf0278",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059024/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T05:24:31.713345Z"
}