List and retrieve diffs with detailed revision information

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

{
    "id": 1093040,
    "revision": {
        "id": 485051,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f9cb86503200aeba4431776494c4e69ed53c31c8",
        "head_changeset": "f33b2f65a8e99a0fc50230f5af3e093a090f41d2",
        "phabricator_id": 201323,
        "phabricator_phid": "PHID-DREV-uv3yycuiuokxouivilry",
        "title": "WIP: Bug 957054 - Don't preload scripts with unknown type",
        "bugzilla_id": 957054,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485051/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485051/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D201323"
    },
    "phid": "PHID-DIFF-bw3jeoxltc2poxopytvk",
    "review_task_id": "bzAjqGx8T4GhDFv2JzJ0Zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "01dae437ebaaf68bb7f8fd575ef3859f57f02eca",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093040/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T04:07:32.316197Z"
}