Skip to content

Commit a901589

Browse files
committed
fix(abtests) traffic percentage min and max + add migratedAbTestID to get/list responses
1 parent c8649c6 commit a901589

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

specs/abtesting-v3/common/parameters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ description:
5656
trafficPercentage:
5757
type: integer
5858
description: Percentage of search requests each variant receives.
59-
minimum: 0
60-
maximum: 100
59+
minimum: 1
60+
maximum: 99
6161
example: 60
6262

6363
currencies:

specs/abtesting-v3/common/schemas/ABTest.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ ABTest:
2727
$ref: "Variant.yml#/variants"
2828
configuration:
2929
$ref: "#/ABTestConfiguration"
30+
migratedAbTestID:
31+
$ref: "#/MigratedABTestId"
3032
required:
3133
- status
3234
- name
@@ -107,3 +109,8 @@ EffectMetric:
107109
- clickThroughRate
108110
- conversionRate
109111
- purchaseRate
112+
113+
MigratedABTestId:
114+
type: integer
115+
description: Unique migrated A/B test identifier.
116+
example: 224

0 commit comments

Comments
 (0)