@@ -16,49 +16,49 @@ post:
1616 additionalProperties : false
1717 properties :
1818 name :
19- $ref : " ../common/parameters.yml#/name"
19+ $ref : ' ../common/parameters.yml#/name'
2020 variants :
2121 type : array
2222 description : A/B test variants.
2323 minItems : 2
2424 items :
25- $ref : " ../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant"
25+ $ref : ' ../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant'
2626 metrics :
2727 type : array
2828 description : A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
2929 items :
30- $ref : " ../common/parameters.yml#/metric"
30+ $ref : ' ../common/parameters.yml#/metric'
3131 configuration :
32- $ref : " ../common/schemas/ABTest.yml#/ABTestConfiguration"
32+ $ref : ' ../common/schemas/ABTest.yml#/ABTestConfiguration'
3333 endAt :
34- $ref : " ../common/parameters.yml#/endAt"
34+ $ref : ' ../common/parameters.yml#/endAt'
3535 required :
3636 - name
3737 - variants
3838 - metrics
3939 - endAt
4040 responses :
41- " 200 " :
41+ ' 200 ' :
4242 description : OK
4343 headers :
4444 x-ratelimit-limit :
45- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-limit"
45+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
4646 x-ratelimit-remaining :
47- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-remaining"
47+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
4848 x-ratelimit-reset :
49- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-reset"
49+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
5050 content :
5151 application/json :
5252 schema :
53- $ref : " ../common/schemas/ABTestResponse.yml#/ABTestResponse"
54- " 400 " :
55- $ref : " ../../common/responses/BadRequest.yml"
56- " 402 " :
57- $ref : " ../../common/responses/FeatureNotEnabled.yml"
58- " 403 " :
59- $ref : " ../../common/responses/MethodNotAllowed.yml"
60- " 404 " :
61- $ref : " ../../common/responses/IndexNotFound.yml"
53+ $ref : ' ../common/schemas/ABTestResponse.yml#/ABTestResponse'
54+ ' 400 ' :
55+ $ref : ' ../../common/responses/BadRequest.yml'
56+ ' 402 ' :
57+ $ref : ' ../../common/responses/FeatureNotEnabled.yml'
58+ ' 403 ' :
59+ $ref : ' ../../common/responses/MethodNotAllowed.yml'
60+ ' 404 ' :
61+ $ref : ' ../../common/responses/IndexNotFound.yml'
6262
6363get :
6464 tags :
8787 - name : indexPrefix
8888 in : query
8989 description : Index name prefix. Only A/B tests for indices starting with this string are included in the response.
90- example : " dev_"
90+ example : ' dev_'
9191 schema :
9292 type : string
9393 - name : indexSuffix
9494 in : query
9595 description : Index name suffix. Only A/B tests for indices ending with this string are included in the response.
96- example : " _development"
96+ example : ' _development'
9797 schema :
9898 type : string
9999 responses :
100- " 200 " :
100+ ' 200 ' :
101101 description : OK
102102 headers :
103103 x-ratelimit-limit :
104- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-limit"
104+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
105105 x-ratelimit-remaining :
106- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-remaining"
106+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
107107 x-ratelimit-reset :
108- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-reset"
108+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
109109 content :
110110 application/json :
111111 schema :
114114 additionalProperties : false
115115 properties :
116116 abtests :
117- $ref : " ../common/schemas/ABTest.yml#/ABTests"
117+ $ref : ' ../common/schemas/ABTest.yml#/ABTests'
118118 count :
119119 type : integer
120120 description : Number of A/B tests.
@@ -127,11 +127,11 @@ get:
127127 - abtests
128128 - count
129129 - total
130- " 400 " :
131- $ref : " ../../common/responses/BadRequest.yml"
132- " 402 " :
133- $ref : " ../../common/responses/FeatureNotEnabled.yml"
134- " 403 " :
135- $ref : " ../../common/responses/MethodNotAllowed.yml"
136- " 404 " :
137- $ref : " ../../common/responses/IndexNotFound.yml"
130+ ' 400 ' :
131+ $ref : ' ../../common/responses/BadRequest.yml'
132+ ' 402 ' :
133+ $ref : ' ../../common/responses/FeatureNotEnabled.yml'
134+ ' 403 ' :
135+ $ref : ' ../../common/responses/MethodNotAllowed.yml'
136+ ' 404 ' :
137+ $ref : ' ../../common/responses/IndexNotFound.yml'
0 commit comments