List and retrieve diffs with detailed revision information

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

{
    "id": 1099971,
    "revision": {
        "id": 505735,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "389f372d12462fc8a110e932d39144203aff9f0f",
        "head_changeset": "27080ec77360075ad32bbceacb59d0dfa93e54dd",
        "phabricator_id": 259685,
        "phabricator_phid": "PHID-DREV-7g54jnacxyaz53rpiuv4",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505735/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505735/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259685"
    },
    "phid": "PHID-DIFF-l2rhbmrfuzla43sq5ujz",
    "review_task_id": "RjhZkGfsQryP42R0qYovYw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "27080ec77360075ad32bbceacb59d0dfa93e54dd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099971/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-02T10:14:23.555973Z"
}