List and retrieve diffs with detailed revision information

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

{
    "id": 1052779,
    "revision": {
        "id": 477438,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "9dfa471eb65ce5c2849204adec3e3d5c68278611",
        "head_changeset": "0dcea0dc95f51f2806383e8d97609ac176467469",
        "phabricator_id": 252526,
        "phabricator_phid": "PHID-DREV-akd6sthws45zazolqdzk",
        "title": "Bug 1970399 - Enable EWS support for non-Daily channels. r=edicharry,#thunderbird-reviewers",
        "bugzilla_id": 1970399,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477438/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477438/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252526"
    },
    "phid": "PHID-DIFF-25pa3dota6o4qlzxjtxg",
    "review_task_id": "ObAeORufSHqt8OFP29x37A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0dcea0dc95f51f2806383e8d97609ac176467469",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052779/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:37:04.656936Z"
}