List and retrieve diffs with detailed revision information

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

{
    "id": 1099801,
    "revision": {
        "id": 504677,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eb2b9607e7b8f901ada02bb6ed7113a0a6640833",
        "head_changeset": "e70a0ed593d068e38c50906581889947cecd39d1",
        "phabricator_id": 259432,
        "phabricator_phid": "PHID-DREV-e6nqkxxp3zik4ua6xone",
        "title": "Bug 1894337 - Replace `--in-content*` color values with design token r?#reusable-components-reviewers",
        "bugzilla_id": 1894337,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504677/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504677/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259432"
    },
    "phid": "PHID-DIFF-aqelvlgwairx7hstcyh2",
    "review_task_id": "QO2phCTwRYSvIP_22lpUug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "312be0d2a379c964f4e2c8f72682ee7f2cbb42bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099801/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T19:20:07.739555Z"
}