List and retrieve diffs with detailed revision information

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

{
    "id": 1066505,
    "revision": {
        "id": 482855,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "04e59425d2b83c78f767b5f216892040d2d7b7f8",
        "head_changeset": "600e6270c62ea29e87889333c65c615ce3b858c0",
        "phabricator_id": 254467,
        "phabricator_phid": "PHID-DREV-wntdwhyjyzbpdiw56npt",
        "title": "Bug 1972539 part 2: Fix handling of empty containers in TextRange::Crop.",
        "bugzilla_id": 1972539,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482855/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482855/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254467"
    },
    "phid": "PHID-DIFF-vsbqtcw3ckbwn4olylvh",
    "review_task_id": "d5iNHnv_Tl613ewZQRM88w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "600e6270c62ea29e87889333c65c615ce3b858c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066505/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T06:37:07.154330Z"
}