Skip to content

Commit 159d861

Browse files
Update rest-api-spec
Co-authored-by: delvedor <[email protected]>
1 parent 534bfa4 commit 159d861

File tree

4 files changed

+67
-3
lines changed

4 files changed

+67
-3
lines changed

output/schema/schema.json

Lines changed: 22 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/eql.search.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Returns results matching a query expressed in Event Query Language (EQL)"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "es.eql_feature_flag_registered",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"],
1211
"content_type": ["application/json"]
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"ml.get_model_snapshot_upgrade_stats": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-model-snapshot-upgrade-stats.html",
5+
"description": "Gets stats for anomaly detection job model snapshot upgrades that are in progress."
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats",
16+
"methods": ["GET"],
17+
"parts": {
18+
"job_id": {
19+
"type": "string",
20+
"description": "The ID of the job. May be a wildcard, comma separated list or `_all`."
21+
},
22+
"snapshot_id": {
23+
"type": "string",
24+
"description": "The ID of the snapshot. May be a wildcard, comma separated list or `_all`."
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params": {
31+
"allow_no_match": {
32+
"type": "boolean",
33+
"required": false,
34+
"description": "Whether to ignore if a wildcard expression matches no jobs or no snapshots. (This includes the `_all` string.)"
35+
}
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)