List and retrieve diffs with detailed revision information

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

{
    "id": 1052622,
    "revision": {
        "id": 477016,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7222fa7893e74127b868b4363472b7962ff902f8",
        "head_changeset": "4833745032679de998326d25ad712749726470b9",
        "phabricator_id": 251999,
        "phabricator_phid": "PHID-DREV-k2hrwi76xxde4nxkpzew",
        "title": "Bug 1969430 - Part 2: Mark the required inheritors of Nestable class as MOZ_STACK_CLASS. r?arai!",
        "bugzilla_id": 1969430,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477016/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477016/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251999"
    },
    "phid": "PHID-DIFF-dlwp3lf6i6bwfildol74",
    "review_task_id": "HOg0_5o5Spax-Hw7XOhrPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b880c701a7ca5fc055625b6d1d861e49cb72d737",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052622/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T12:16:52.371041Z"
}