List and retrieve diffs with detailed revision information

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

{
    "id": 1107627,
    "revision": {
        "id": 480464,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "851ac1d9ee29d66c820c6d8a736342bb5426b154",
        "head_changeset": "1a6205c876d74f57ceff3b0957a21e598022e622",
        "phabricator_id": 253948,
        "phabricator_phid": "PHID-DREV-ddqb5wlwhlvrz3xrb4ap",
        "title": "WIP: Bug 1972522 - WIP - Use view transitions for sidebar animations.",
        "bugzilla_id": 1972522,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480464/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480464/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253948"
    },
    "phid": "PHID-DIFF-w25nqyhhlki5ztr4sqz6",
    "review_task_id": "Z-REo9iMQlG7gF64DPbvHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c0ee625e7c3f474aa57d53dee45f3c2a94776f30",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107627/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T08:34:24.177492Z"
}