List and retrieve diffs with detailed revision information

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

{
    "id": 1088009,
    "revision": {
        "id": 496851,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e25ff8b652d0902dcdd3a077771a6d48b7186a3a",
        "head_changeset": "2b0c0edbaee3fad91dca91724333a3433b432c98",
        "phabricator_id": 257663,
        "phabricator_phid": "PHID-DREV-rnqxxzb7ayo2g5e4yhed",
        "title": "Bug 1976088 - Make the copy constructor of `dom::Touch` call the copy constructor of `WidgetPointerHelper` r=smaug!,#dom-core",
        "bugzilla_id": 1976088,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496851/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496851/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257663"
    },
    "phid": "PHID-DIFF-p65inq5axeo4wwfoes33",
    "review_task_id": "V_8EuV_6SdeDxTrw-ZtUHA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1b08fe977c066faad997bb6db74ba298cb425944",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088009/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T11:58:11.385656Z"
}