File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
tests/CTS/requests/search Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,11 @@ userID:
32
32
pattern : ' ^[a-zA-Z0-9 \-*.]+$'
33
33
description : Unique identifier of the user who makes the search request.
34
34
example : user1
35
+
36
+ getVersion :
37
+ name : getVersion
38
+ description : When set to 2, the endpoint will not include `synonyms` in the response. This parameter is here for backward compatibility.
39
+ in : query
40
+ schema :
41
+ type : integer
42
+ default : 1
Original file line number Diff line number Diff line change 9
9
summary : Retrieve index settings
10
10
parameters :
11
11
- $ref : ' ../../../common/parameters.yml#/IndexName'
12
+ - $ref : ' ../../common/parameters.yml#/getVersion'
12
13
responses :
13
14
' 200 ' :
14
15
description : OK
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"parameters" : {
4
- "indexName" : " cts_e2e_settings"
4
+ "indexName" : " cts_e2e_settings" ,
5
+ "getVersion" : 2
5
6
},
6
7
"request" : {
7
8
"path" : " /1/indexes/cts_e2e_settings/settings" ,
8
- "method" : " GET"
9
+ "method" : " GET" ,
10
+ "queryParameters" : {
11
+ "getVersion" : " 2"
12
+ }
9
13
},
10
14
"response" : {
11
15
"statusCode" : 200 ,
You can’t perform that action at this time.
0 commit comments