List and retrieve diffs with detailed revision information

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

{
    "id": 1052530,
    "revision": {
        "id": 477384,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "967b6209a671ab45f806b9c6a0f1ccd73bac977e",
        "head_changeset": "008e9f96953450bd59f423b515d517d18e505265",
        "phabricator_id": 252463,
        "phabricator_phid": "PHID-DREV-s3m3yyfoxzj5ozsgj46b",
        "title": "Bug 1970022 - Remove zombie test files in comm_taskgraph. r=#thunderbird-reviewers",
        "bugzilla_id": 1970022,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477384/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477384/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252463"
    },
    "phid": "PHID-DIFF-qn4uqqbov3vplvwkoukm",
    "review_task_id": "C-Q3DqzuSMylf1Gbm42stw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "008e9f96953450bd59f423b515d517d18e505265",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052530/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T10:18:18.280225Z"
}