List and retrieve diffs with detailed revision information

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

{
    "id": 1095401,
    "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-rptr2knsphuwcbm4n4km",
    "review_task_id": "fwwcpoFXQYSM2mYSP65dEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ad451e2b9e60a931bbb4c4d41f81cb3b60c23bbc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095401/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T18:19:51.012760Z"
}