List and retrieve diffs with detailed revision information

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

{
    "id": 1094986,
    "revision": {
        "id": 470690,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "882dc1e20711a4d5a4c7fd55e6733086c985f973",
        "head_changeset": "cfd139045c0df75340bd897e1aa339876f881b4f",
        "phabricator_id": 243262,
        "phabricator_phid": "PHID-DREV-7an6rjbeigusf6qc64wf",
        "title": "Bug 1937025 p2: Delete obselete patches. r=yjuglaret!",
        "bugzilla_id": 1937025,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/470690/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/470690/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243262"
    },
    "phid": "PHID-DIFF-rhuxgivykl5oimecn2iy",
    "review_task_id": "Sog7XHkXRDGAZweNEhxtwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdef64c3e6ec4d1607531f467880b0b0d32c16cb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094986/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T08:47:03.122724Z"
}