/
_common.json
31 lines (31 loc) · 957 Bytes
/
_common.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"documentation" : {
"description": "Parameters that are accepted by all API endpoints.",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html"
},
"params": {
"pretty": {
"type": "boolean",
"description": "Pretty format the returned JSON response.",
"default": false
},
"human": {
"type": "boolean",
"description": "Return human readable values for statistics.",
"default": true
},
"error_trace": {
"type": "boolean",
"description": "Include the stack trace of returned errors.",
"default": false
},
"source": {
"type": "string",
"description": "The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests."
},
"filter_path": {
"type": "list",
"description": "A comma-separated list of filters used to reduce the response."
}
}
}