List and retrieve diffs with detailed revision information

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

{
    "id": 1080837,
    "revision": {
        "id": 489545,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "57e542af9f01a7c1d29fd865fc69da8ecb7ef783",
        "head_changeset": "266cc9ce9ad3ba42eaa20ffad8c577c0a10da13b",
        "phabricator_id": 253855,
        "phabricator_phid": "PHID-DREV-5ibac4orqfovuqwypdih",
        "title": "Bug 1963701 - Add telemetry probe recording whether user ever accepted terms of use",
        "bugzilla_id": 1963701,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489545/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489545/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253855"
    },
    "phid": "PHID-DIFF-bnqdd5un5ferqshvjqbj",
    "review_task_id": "Y9xM9WmMRp2Ht1QeWQYlyA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "da3a6d54f44f4d3151fe8f75987766fa8572e066",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080837/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T14:19:40.768908Z"
}