List and retrieve diffs with detailed revision information

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

{
    "id": 1110047,
    "revision": {
        "id": 510071,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0af0dcab9b7d528ac3335a38fc02ea78e00ef66a",
        "head_changeset": "cb6091e56588bf2e462b81acf8b7de3b77952c11",
        "phabricator_id": 260587,
        "phabricator_phid": "PHID-DREV-cj67bh5qqswaimjbifsb",
        "title": "Bug 1973655 - part 1: Make the editor module not call DOM API to modify the DOM directly r=m_kato!",
        "bugzilla_id": 1973655,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510071/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510071/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260587"
    },
    "phid": "PHID-DIFF-rgcrbtxf245b5mpxejmo",
    "review_task_id": "PRlefZwQQHuFGYzASpJm4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d14f98a0ca07c42992ac31d5833ec246ee30c932",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110047/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T08:58:02.966535Z"
}