List and retrieve diffs with detailed revision information

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

{
    "id": 1066147,
    "revision": {
        "id": 482461,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "066b50b0e84c1702c949f954497562c5a05aa73f",
        "head_changeset": "209e7b8e5c4abca4f6c824f531da1fb5d5158309",
        "phabricator_id": 254414,
        "phabricator_phid": "PHID-DREV-eewcvr5h7pz47lilh4gy",
        "title": "Bug 1973051 - Disable targeting context recording in test_enrollWithFeatureConfig r?#nimbus-reviewers",
        "bugzilla_id": 1973051,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482461/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482461/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254414"
    },
    "phid": "PHID-DIFF-nuo3c6g4sxebxhzsjbhh",
    "review_task_id": "b5eHm8SbSr2xQkZYHsdsbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "209e7b8e5c4abca4f6c824f531da1fb5d5158309",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T16:16:40.465532Z"
}