List and retrieve diffs with detailed revision information

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

{
    "id": 1065971,
    "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-i35aie5bsyavqg7e7y7n",
    "review_task_id": "b3bEK9i8Q8iykVUr302Smg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61ee67d4f1da79b38f4b2c6acce6b70942be2e0f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065971/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T12:52:56.353549Z"
}