List and retrieve diffs with detailed revision information

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

{
    "id": 1111328,
    "revision": {
        "id": 520366,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dc3f321bfa160ecd9623f281fec971012a3f0b50",
        "head_changeset": "b71da6587119b1cb24ee6828d236ae75c1448bbc",
        "phabricator_id": 262452,
        "phabricator_phid": "PHID-DREV-nj5lhz2dvtuydxxwgfor",
        "title": "Bug 1316188 - Treat Javadoc 'no comment' warnings to errors so they can no longer be ignored  r?nalexander",
        "bugzilla_id": 1316188,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520366/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520366/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262452"
    },
    "phid": "PHID-DIFF-dudseflifkol7wmtmtel",
    "review_task_id": "dTs_gVIqRxek7m-Payyc6A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b1a32b36a63b411af8f4e260b80e57ad5e596a0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111328/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T20:04:31.022864Z"
}