Description
Create a new public experiments endpoint /api/v1/experiments that will include all the metadata similar to instruments minus excluded fields (see T373467) plus the variants i.e.:
... "variants": [ { "name": "feature a", "type": "boolean", "values": [ "true", "false" ] }, { "name": "feature b", "type": "boolean", "values": [ "true", "false" ] } } ...
Derivation of this experiments endpoint will be similar to the instruments endpoint - we can filter by Type === a/b test.
Acceptance Criteria
- Route is created and publicly accessible
- Validators are updated
- Variants field is deserialized correctly for the api response
Required
- Unit/Integration tests
- Documentation?
- Passed QA?