List and retrieve diffs with detailed revision information

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

{
    "id": 1101815,
    "revision": {
        "id": 507460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "45939bed28136a362a1a0da564e5277b42f033a6",
        "phabricator_id": 260140,
        "phabricator_phid": "PHID-DREV-736k7pejzeh7nyyupvb4",
        "title": "Bug 1981341 - Add referenceTarget and shadowRootReferenceTarget attributes. r?#dom-core",
        "bugzilla_id": 1981341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260140"
    },
    "phid": "PHID-DIFF-jhqrzbg3hwemaqrmurhn",
    "review_task_id": "PzbRvGUdQvCoxE0rIvoAvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "242d58785fa74cce498186317e709b2f266782ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101815/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T15:02:18.283300Z"
}