List and retrieve diffs with detailed revision information

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

{
    "id": 1066590,
    "revision": {
        "id": 482975,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "34d97f249da7add6ca0c2a6b697f7aa78eccbbe5",
        "head_changeset": "fd1ed4a10efe3182378c7ba08f7c89c573c8cc4e",
        "phabricator_id": 254489,
        "phabricator_phid": "PHID-DREV-prn3v5gghhqsvjg5d4ba",
        "title": "Bug 1973127 - Implement an env(hairline) that CSS can use to round things to device pixels, and use it for the Windows titlebar buttons. r=gregp,#theme,#layout",
        "bugzilla_id": 1973127,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482975/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482975/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254489"
    },
    "phid": "PHID-DIFF-4bvdgk7v7yg5pyapsjhx",
    "review_task_id": "JOMW_gwBT_yVCfIFdQXxKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fd1ed4a10efe3182378c7ba08f7c89c573c8cc4e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066590/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T09:56:56.818001Z"
}