List and retrieve diffs with detailed revision information

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

{
    "id": 1110652,
    "revision": {
        "id": 519167,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9f4549668822041e759d3e507c536dadf75703e3",
        "head_changeset": "d85297df22e50d6ce332f79f557a4add83310e20",
        "phabricator_id": 262238,
        "phabricator_phid": "PHID-DREV-qo5svnorqsas7fi56tk3",
        "title": "Bug 1984840 - Replace deprecated SheetState usage with rememberModalBottomSheetState. r=#android-reviewers",
        "bugzilla_id": 1984840,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519167/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519167/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262238"
    },
    "phid": "PHID-DIFF-sf7sfkoav64odxjyzdsl",
    "review_task_id": "dbISGsS4S9e2Ed7FoglfTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d85297df22e50d6ce332f79f557a4add83310e20",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110652/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T15:01:13.901039Z"
}