Skip to content

Commit 1d950a8

Browse files
committed
part types are not string but list on the _search_shards endpoint
1 parent fc75f26 commit 1d950a8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
"paths": ["/_search_shards", "/{index}/_search_shards", "/{index}/{type}/_search_shards"],
88
"parts": {
99
"index": {
10-
"type" : "string",
11-
"required" : false,
12-
"description" : "The name of the index"
10+
"type" : "list",
11+
"description" : "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices"
1312
},
1413
"type": {
15-
"type" : "string",
16-
"required" : false,
17-
"description" : "The type of the document"
14+
"type" : "list",
15+
"description" : "A comma-separated list of document types to search; leave empty to perform the operation on all types"
1816
}
1917
},
2018
"params": {

0 commit comments

Comments
 (0)