List and retrieve diffs with detailed revision information

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

{
    "id": 1111281,
    "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-dw6qpasujqvz2bu23iyq",
    "review_task_id": "LPT31d10QumH_dox-D4cow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b71da6587119b1cb24ee6828d236ae75c1448bbc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111281/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T19:00:57.668811Z"
}