List and retrieve diffs with detailed revision information

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

{
    "id": 1087870,
    "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-el4n36g7bi5nex35oczm",
    "review_task_id": "GDcZdNO2QGCT_9_rBpN3tA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b0c0edbaee3fad91dca91724333a3433b432c98",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087870/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T09:41:12.245292Z"
}