List and retrieve diffs with detailed revision information

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

{
    "id": 1111435,
    "revision": {
        "id": 520595,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7e93a56a7f8b265603ce2cbf38dcf8cc78d00f70",
        "head_changeset": "c70ea5910a3f657c39b024209482c96aa6eb4d59",
        "phabricator_id": 262492,
        "phabricator_phid": "PHID-DREV-qrwsi4spbc6rpyckweea",
        "title": "Bug 1979411 - Dispatch errors from IPProtectionService and retry failures on start.",
        "bugzilla_id": 1979411,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520595/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520595/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262492"
    },
    "phid": "PHID-DIFF-7xtisotbuq6qvx3lg4dz",
    "review_task_id": "CyoGc_YkQsSaEoh2Y4-iWQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c70ea5910a3f657c39b024209482c96aa6eb4d59",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111435/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T22:03:38.402642Z"
}