List and retrieve diffs with detailed revision information

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

{
    "id": 1110654,
    "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-2byqqprc3vhmslfj7yqw",
    "review_task_id": "Z8PmGaSvQweG_bephL9BjQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df897d25ab7a6c550805af47bc1f341f60fecbd2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110654/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T15:07:54.191562Z"
}