forked from elastic/elasticsearch-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfleet.search.json
47 lines (47 loc) · 1.34 KB
/
fleet.search.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"fleet.search": {
"documentation": {
"url": null,
"description": "Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project."
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/{index}/_fleet/_fleet_search",
"methods": ["GET", "POST"],
"parts": {
"index": {
"type": "string",
"description": "The index name to search."
}
}
}
]
},
"params": {
"wait_for_checkpoints": {
"type": "list",
"description": "Comma separated list of checkpoints, one per shard",
"default": ""
},
"wait_for_checkpoints_timeout": {
"type": "time",
"description": "Explicit wait_for_checkpoints timeout"
},
"allow_partial_search_results": {
"type": "boolean",
"default": true,
"description": "Indicate if an error should be returned if there is a partial search failure or timeout"
}
},
"body": {
"description": "The search definition using the Query DSL"
}
}
}