List and retrieve diffs with detailed revision information

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

{
    "id": 1056606,
    "revision": {
        "id": 471552,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "95ab320730a75389873fadbb70f1464a9d849d67",
        "head_changeset": "3bdd6f5487ef8a264974497e3561429b784c6802",
        "phabricator_id": 243803,
        "phabricator_phid": "PHID-DREV-f6ytmvyknlwlb73cddsn",
        "title": "Bug 1602351 - Allow to print the stacktrace in logpoint; r=nchevobbe!",
        "bugzilla_id": 1602351,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471552/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471552/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243803"
    },
    "phid": "PHID-DIFF-jtc6dhyz3sxpx7s3m5ka",
    "review_task_id": "AASJQfMOSnaIaqMGICQpdg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "46f2550fe9f2750493c0824fe676b6370e93fea5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056606/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T10:54:29.388212Z"
}