List and retrieve diffs with detailed revision information

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

{
    "id": 1052148,
    "revision": {
        "id": 477296,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8c2b927c52c243ae4128be09b609feeb7201814",
        "head_changeset": "3dfdb436c92d39e7d3bec47def8935456a165d86",
        "phabricator_id": 252390,
        "phabricator_phid": "PHID-DREV-ixpzs7ycci4kjinw2vsd",
        "title": "Bug 1967788 - Remove pocket component tests - r=fchasen,kpatenio",
        "bugzilla_id": 1967788,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477296/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477296/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252390"
    },
    "phid": "PHID-DIFF-rq2fqs5k45j4qexjlwux",
    "review_task_id": "GawWyPUgRIae_KH3UbwECQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3dfdb436c92d39e7d3bec47def8935456a165d86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052148/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T19:23:16.086476Z"
}