mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
Added the API definition for _validate/query
This commit is contained in:
parent
e6c54e71f2
commit
c274a36d34
@ -1,32 +1,42 @@
|
||||
{
|
||||
"indices.validate.query": {
|
||||
"documentation": "",
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/validate/",
|
||||
"methods": ["GET", "POST"],
|
||||
"url": {
|
||||
"path": "/_validate/query",
|
||||
"paths": ["/_validate/query", "/{index}/_validate/query", "/{index}/{type}/_validate/query"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
"description" : "A comma-separated list of index names to restrict the operation; use `_all` or empty string to perform the operation on all indices"
|
||||
},
|
||||
"type": {
|
||||
"type" : "list",
|
||||
"description" : "A comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"explain": {
|
||||
"type" : "boolean",
|
||||
"description" : "Return detailed information about the error"
|
||||
},
|
||||
"ignore_indices": {
|
||||
},
|
||||
"index": {
|
||||
"type" : "enum",
|
||||
"options" : ["none","missing"],
|
||||
"default" : "none",
|
||||
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
|
||||
},
|
||||
"operation_threading": {
|
||||
"description" : "TODO: ?"
|
||||
},
|
||||
"source": {
|
||||
},
|
||||
"type": {
|
||||
"type" : "string",
|
||||
"description" : "The URL-encoded query definition (instead of using the request body)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"description" : "The query definition"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user