List and retrieve diffs with detailed revision information

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

{
    "id": 1057337,
    "revision": {
        "id": 478105,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25fcd6dd9dd53e78986357433541f732cc57bdbd",
        "head_changeset": "d479ecb47aed0ef31a864c543dc2f141d96506b5",
        "phabricator_id": 249673,
        "phabricator_phid": "PHID-DREV-3en4evtpnpyc55liy4io",
        "title": "Bug 1966763 - Run `./mach vendor python --upgrade` with the new minimum Python version `3.9` to establish a new baseline r?ahal",
        "bugzilla_id": 1966763,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478105/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478105/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249673"
    },
    "phid": "PHID-DIFF-kvdpkeun2ove6rlztxyf",
    "review_task_id": "QypELwF3Qv-jKF8tIp1oug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c1088e818ba8e2bfd145ddda3f3dfeb493b3a4af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T06:46:21.097485Z"
}