-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathsql.query.json
More file actions
37 lines (37 loc) · 1.21 KB
/
sql.query.json
File metadata and controls
37 lines (37 loc) · 1.21 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
{
"sql.query": {
"documentation": {
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-sql-query",
"description": "Get SQL search results"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_sql",
"methods": ["POST", "GET"]
}
]
},
"params": {
"format": {
"type": "enum",
"description": "The format for the response.\nYou can also specify a format using the `Accept` HTTP header.\nIf you specify both this parameter and the `Accept` HTTP header, this parameter takes precedence.",
"options": ["csv", "json", "tsv", "txt", "yaml", "cbor", "smile"]
},
"project_routing": {
"type": "string",
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
}
},
"body": {
"description": "Use the `query` element to start a query. Use the `cursor` element to continue a query.",
"required": true
}
}
}