part types are not string but list on the _search_shards endpoint

This commit is contained in:
Martijn Laarman 2015-09-10 11:26:39 +02:00
parent aaf7116bfb
commit 8e7be8b552
1 changed files with 4 additions and 6 deletions

View File

@ -7,14 +7,12 @@
"paths": ["/_search_shards", "/{index}/_search_shards", "/{index}/{type}/_search_shards"],
"parts": {
"index": {
"type" : "string",
"required" : false,
"description" : "The name of the index"
"type" : "list",
"description" : "A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices"
},
"type": {
"type" : "string",
"required" : false,
"description" : "The type of the document"
"type" : "list",
"description" : "A comma-separated list of document types to search; leave empty to perform the operation on all types"
}
},
"params": {