Module ab_testing

Module ab_testing 

Source
Expand description

A/B Testing API handlers

This module provides HTTP handlers for managing A/B tests and mock variants.

Structs§

ABTestingState
State for A/B testing handlers
CreateABTestRequest
Request to create or update an A/B test
EndpointQuery
Query parameters for endpoint operations
UpdateAllocationRequest
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