Diff two bill-text versions
get_bill_diffCompare two versions of a bill's text (GET /v1/bills/{bill_id}/diff): a unified diff plus similarity, added/removed line and character counts, and changed-section highlights. Get the two version ids from get_bill with include:['texts'] — each text row's text_id. Pass them as from (the earlier version) and to (the later version). Diffs are precomputed, so only bills that have more than one text version return one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Text-version id of the later version to compare against. | |
| from | Yes | Text-version id of the earlier version (the baseline). | |
| bill_id | Yes | bill_id the two texts belong to. |