-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathml.preview_datafeed.json
48 lines (48 loc) · 1.26 KB
/
ml.preview_datafeed.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
48
{
"ml.preview_datafeed": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html",
"description": "Previews a datafeed."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_ml/datafeeds/{datafeed_id}/_preview",
"methods": ["GET", "POST"],
"parts": {
"datafeed_id": {
"type": "string",
"description": "The ID of the datafeed to preview"
}
}
},
{
"path": "/_ml/datafeeds/_preview",
"methods": ["GET", "POST"]
}
]
},
"params": {
"start": {
"type": "string",
"required": false,
"description": "The start time from where the datafeed preview should begin"
},
"end": {
"type": "string",
"required": false,
"description": "The end time when the datafeed preview should stop"
}
},
"body": {
"description": "The datafeed config and job config with which to execute the preview",
"required": false
}
}
}