List and retrieve diffs with detailed revision information

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

{
    "id": 1111069,
    "revision": {
        "id": 520016,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7a0ed72da5b9b43347e7a54d12071da4607e9f17",
        "head_changeset": "0cd5bd8beb0df79f24d495769c80bd188d4f57bb",
        "phabricator_id": 261130,
        "phabricator_phid": "PHID-DREV-qtlsbmsqsk2x3yko3u3z",
        "title": "Bug 1983077 - Use RESULT_TYPE.SEARCH instead of URL suggestions for important dates. r?adw",
        "bugzilla_id": 1983077,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520016/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520016/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261130"
    },
    "phid": "PHID-DIFF-cjwdmtdwshoihkkozcko",
    "review_task_id": "Iy_hotgCT5G03HIC-rkHFw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0cd5bd8beb0df79f24d495769c80bd188d4f57bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111069/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T14:29:34.257351Z"
}