List and retrieve diffs with detailed revision information

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

{
    "id": 1058636,
    "revision": {
        "id": 478603,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5adde51a4a3382b0c577c4e88748d7f15865c47a",
        "head_changeset": "ac18ff77e8e475a2d69a5359be4e72d0c48aacd1",
        "phabricator_id": 253687,
        "phabricator_phid": "PHID-DREV-uz5yyudens2q6yuvzvlt",
        "title": "WIP: Bug 1950060 - Enable zucchini support in the updater. r=#application-update-reviewers",
        "bugzilla_id": 1950060,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478603/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478603/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253687"
    },
    "phid": "PHID-DIFF-x54n63qu4ctpsddsijfc",
    "review_task_id": "digYmguMS_eT5hcYPohvbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "793ef42ad6b9423663949aaf346ad79af8467e02",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058636/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T18:35:03.851601Z"
}