Migrate the management API read path onto Segment.rules_data.
Acceptance criteria
- Segment responses contain no
id on rules or conditions; conditions expose operator, property, value, description.
- The segment list and retrieve endpoints no longer issue rule or condition queries for segments that have
rules_data populated (assert query counts drop).
- For segments with no
rule_data, list and retrieve endpoints fall back to relational data.
- OpenAPI spec and Postman collection no longer include segment rule and condition IDs.
Migrate the management API read path onto
Segment.rules_data.Acceptance criteria
idon rules or conditions; conditions exposeoperator,property,value,description.rules_datapopulated (assert query counts drop).rule_data, list and retrieve endpoints fall back to relational data.