List and retrieve diffs with detailed revision information

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

{
    "id": 1086385,
    "revision": {
        "id": 478027,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "afbb4b2c425af742d85c41aa58b1f6afb6f5bf59",
        "head_changeset": "db90ed263d0d05a37736856817b7dc87ffe54658",
        "phabricator_id": 253200,
        "phabricator_phid": "PHID-DREV-bsjwyfhtmpmif6cxj232",
        "title": "WIP: Bug 1968279 - Part 4: Set up local web server for testing",
        "bugzilla_id": 1968279,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478027/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478027/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253200"
    },
    "phid": "PHID-DIFF-yqxbe7do6lq5t7b42z36",
    "review_task_id": "DOAXNZD_RpKK0HwQqJ3PoA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8e16a5aac42b6c21ee8df1948a4e0980dd67ed56",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086385/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T15:57:59.086073Z"
}