List and retrieve diffs with detailed revision information

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

{
    "id": 1065920,
    "revision": {
        "id": 481977,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "873e87712f2a6213d1461898ba4498d2761f54cd",
        "head_changeset": "c985e6208daf4e37a608b0956714cb2fbd87dd58",
        "phabricator_id": 254319,
        "phabricator_phid": "PHID-DREV-4exjph6rfsonvfrlu6pn",
        "title": "Bug 1972918 - Part 2: Move common parts of test_*_interfaces into interface_exposure_checker r=#webidl",
        "bugzilla_id": 1972918,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481977/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481977/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254319"
    },
    "phid": "PHID-DIFF-pp5wihnoabviupqheuzo",
    "review_task_id": "d_ob-2CZToKSGlRX1C2zdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9eabd197d01bd7eb426f2cc5b82b56a205b76b24",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065920/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T12:03:10.500932Z"
}