List and retrieve diffs with detailed revision information

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

{
    "id": 1073422,
    "revision": {
        "id": 485950,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76dfc3ad00d16cbcaecace15b8d12227eb1040c8",
        "head_changeset": "266f59dbd74a426a2c5e09d13dabf522c0f56be9",
        "phabricator_id": 255135,
        "phabricator_phid": "PHID-DREV-dzrk7rqvmp2otvsftfzd",
        "title": "No Bug, mozilla-beta repo-update HSTS HPKP remote-settings mobile-experiments ct-logs - a=repo-update",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485950/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485950/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255135"
    },
    "phid": "PHID-DIFF-pqjsj3gm4cofhyrhrld7",
    "review_task_id": "LggwDiJOSw2K7IhcAd9beA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "266f59dbd74a426a2c5e09d13dabf522c0f56be9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073422/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T15:28:44.549738Z"
}