@@ -16,49 +16,49 @@ post:
16
16
additionalProperties : false
17
17
properties :
18
18
name :
19
- $ref : " ../common/parameters.yml#/name"
19
+ $ref : ' ../common/parameters.yml#/name'
20
20
variants :
21
21
type : array
22
22
description : A/B test variants.
23
23
minItems : 2
24
24
items :
25
- $ref : " ../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant"
25
+ $ref : ' ../common/schemas/AddABTestsVariant.yml#/AddABTestsVariant'
26
26
metrics :
27
27
type : array
28
28
description : A/B test metrics involved in the test. Only these metrics will be considered when calculating results.
29
29
items :
30
- $ref : " ../common/parameters.yml#/metric"
30
+ $ref : ' ../common/parameters.yml#/metric'
31
31
configuration :
32
- $ref : " ../common/schemas/ABTest.yml#/ABTestConfiguration"
32
+ $ref : ' ../common/schemas/ABTest.yml#/ABTestConfiguration'
33
33
endAt :
34
- $ref : " ../common/parameters.yml#/endAt"
34
+ $ref : ' ../common/parameters.yml#/endAt'
35
35
required :
36
36
- name
37
37
- variants
38
38
- metrics
39
39
- endAt
40
40
responses :
41
- " 200 " :
41
+ ' 200 ' :
42
42
description : OK
43
43
headers :
44
44
x-ratelimit-limit :
45
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-limit"
45
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
46
46
x-ratelimit-remaining :
47
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-remaining"
47
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
48
48
x-ratelimit-reset :
49
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-reset"
49
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
50
50
content :
51
51
application/json :
52
52
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'
62
62
63
63
get :
64
64
tags :
87
87
- name : indexPrefix
88
88
in : query
89
89
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_'
91
91
schema :
92
92
type : string
93
93
- name : indexSuffix
94
94
in : query
95
95
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'
97
97
schema :
98
98
type : string
99
99
responses :
100
- " 200 " :
100
+ ' 200 ' :
101
101
description : OK
102
102
headers :
103
103
x-ratelimit-limit :
104
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-limit"
104
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
105
105
x-ratelimit-remaining :
106
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-remaining"
106
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
107
107
x-ratelimit-reset :
108
- $ref : " ../../common/responses/rateLimit.yml#/x-ratelimit-reset"
108
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
109
109
content :
110
110
application/json :
111
111
schema :
114
114
additionalProperties : false
115
115
properties :
116
116
abtests :
117
- $ref : " ../common/schemas/ABTest.yml#/ABTests"
117
+ $ref : ' ../common/schemas/ABTest.yml#/ABTests'
118
118
count :
119
119
type : integer
120
120
description : Number of A/B tests.
@@ -127,11 +127,11 @@ get:
127
127
- abtests
128
128
- count
129
129
- 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