-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathesql.query.json
More file actions
57 lines (57 loc) · 1.79 KB
/
esql.query.json
File metadata and controls
57 lines (57 loc) · 1.79 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"esql.query": {
"documentation": {
"url": "https://www.elastic.co/docs/explore-analyze/query-filter/languages/esql-rest",
"description": "Run an ES|QL query"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_query",
"methods": ["POST"]
}
]
},
"params": {
"format": {
"type": "enum",
"description": "A short version of the Accept header, e.g. json, yaml.\n\n`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.",
"options": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
]
},
"delimiter": {
"type": "string",
"description": "The character to use between values within a CSV row. Only valid for the csv format.",
"default": ","
},
"drop_null_columns": {
"type": "boolean",
"description": "Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.",
"default": false
},
"allow_partial_results": {
"type": "boolean",
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.",
"default": true
}
},
"body": {
"description": "Use the `query` element to start a query. Use `columnar` to format the answer.",
"required": true
}
}
}