Expand description
A/B Testing API handlers
This module provides HTTP handlers for managing A/B tests and mock variants.
Structs§
- ABTesting
State - State for A/B testing handlers
- CreateAB
Test Request - Request to create or update an A/B test
- Endpoint
Query - Query parameters for endpoint operations
- Update
Allocation Request - Request to update variant allocation
Functions§
- ab_
testing_ router - Create A/B testing router
- compare_
variants - Compare two variants
- create_
ab_ test - Create or update an A/B test
- delete_
ab_ test - Delete an A/B test
- get_
ab_ test - Get A/B test configuration for an endpoint
- get_
ab_ test_ analytics - Get analytics for an A/B test
- get_
variant_ analytics - Get analytics for a specific variant
- list_
ab_ tests - List all A/B tests
- toggle_
ab_ test - Enable or disable an A/B test
- update_
allocations - Update variant allocations for an A/B test