List and retrieve diffs with detailed revision information

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

{
    "id": 1054030,
    "revision": {
        "id": 477643,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cea1f4a1355721d69d42d3d33d5c80b85ca90452",
        "head_changeset": "775cc9f833005bfd72be432816564884c629adfc",
        "phabricator_id": 252765,
        "phabricator_phid": "PHID-DREV-hhfkqhtb3i7bh3mx2glg",
        "title": "WIP: Bug 1969049 - Add samply toolchain to simpleperf tasks. r=#perftest-reviewers,kshampur",
        "bugzilla_id": 1969049,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477643/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477643/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252765"
    },
    "phid": "PHID-DIFF-lfxwokqrfjc3v6dz6kzv",
    "review_task_id": "OwbE551yTTWZq6HDpNowow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "64c96b76ef31686b34129523619565fee93200b8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054030/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T00:54:17.325931Z"
}