List and retrieve diffs with detailed revision information

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

{
    "id": 1078029,
    "revision": {
        "id": 490664,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "464a560d0f88813bf61665cda943cc708bdee294",
        "head_changeset": "f46c3b9198a60c4d63d7ebbe8e9690373098cbaf",
        "phabricator_id": 256105,
        "phabricator_phid": "PHID-DREV-abnegb5gu73g2chxfkon",
        "title": "Bug 1975700 - reset-all + promote CTS expectations after wgpu update 2025-07-01. r=#webgpu-reviewers",
        "bugzilla_id": 1975700,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490664/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490664/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256105"
    },
    "phid": "PHID-DIFF-ker3wl5xsswngroshf4z",
    "review_task_id": "NNTtBSTtTt2cGTORDkbjYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f46c3b9198a60c4d63d7ebbe8e9690373098cbaf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078029/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T11:08:15.978961Z"
}