Skip to content

Commit a699663

Browse files
committed
Update to latest 7.10
1 parent 03d4586 commit a699663

19 files changed

+1041
-25
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"close_point_in_time":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html",
5+
"description":"Close a point in time"
6+
},
7+
"stability":"stable",
8+
"url":{
9+
"paths":[
10+
{
11+
"path":"/_pit",
12+
"methods":[
13+
"DELETE"
14+
]
15+
}
16+
]
17+
},
18+
"params":{},
19+
"body":{
20+
"description": "a point-in-time id to close"
21+
}
22+
}
23+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.x
1+
7.10

api_generator/rest_specs/ml.delete_trained_model.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"ml.delete_trained_model":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-trained-models.html",
55
"description":"Deletes an existing trained inference model that is currently not referenced by an ingest pipeline."
66
},
77
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{
11-
"path":"/_ml/inference/{model_id}",
11+
"path":"/_ml/trained_models/{model_id}",
1212
"methods":[
1313
"DELETE"
1414
],

api_generator/rest_specs/ml.get_trained_models.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"ml.get_trained_models":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models.html",
55
"description":"Retrieves configuration information for a trained inference model."
66
},
77
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{
11-
"path":"/_ml/inference/{model_id}",
11+
"path":"/_ml/trained_models/{model_id}",
1212
"methods":[
1313
"GET"
1414
],
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
{
23-
"path":"/_ml/inference",
23+
"path":"/_ml/trained_models",
2424
"methods":[
2525
"GET"
2626
]
@@ -34,11 +34,17 @@
3434
"description":"Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)",
3535
"default":true
3636
},
37+
"include":{
38+
"type":"string",
39+
"required":false,
40+
"description":"A comma-separate list of fields to optionally include. Valid options are 'definition' and 'total_feature_importance'. Default is none."
41+
},
3742
"include_model_definition":{
3843
"type":"boolean",
3944
"required":false,
4045
"description":"Should the full model definition be included in the results. These definitions can be large. So be cautious when including them. Defaults to false.",
41-
"default":false
46+
"default":false,
47+
"deprecated": true
4248
},
4349
"decompress_definition":{
4450
"type":"boolean",

api_generator/rest_specs/ml.get_trained_models_stats.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"ml.get_trained_models_stats":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-trained-models-stats.html",
55
"description":"Retrieves usage information for trained inference models."
66
},
77
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{
11-
"path":"/_ml/inference/{model_id}/_stats",
11+
"path":"/_ml/trained_models/{model_id}/_stats",
1212
"methods":[
1313
"GET"
1414
],
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
{
23-
"path":"/_ml/inference/_stats",
23+
"path":"/_ml/trained_models/_stats",
2424
"methods":[
2525
"GET"
2626
]

api_generator/rest_specs/ml.put_trained_model.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"ml.put_trained_model":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-models.html",
55
"description":"Creates an inference trained model."
66
},
77
"stability":"experimental",
88
"url":{
99
"paths":[
1010
{
11-
"path":"/_ml/inference/{model_id}",
11+
"path":"/_ml/trained_models/{model_id}",
1212
"methods":[
1313
"PUT"
1414
],
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"open_point_in_time":{
3+
"documentation":{
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html",
5+
"description":"Open a point in time that can be used in subsequent searches"
6+
},
7+
"stability":"stable",
8+
"url":{
9+
"paths":[
10+
{
11+
"path":"/_pit",
12+
"methods":[
13+
"POST"
14+
]
15+
},
16+
{
17+
"path":"/{index}/_pit",
18+
"methods":[
19+
"POST"
20+
],
21+
"parts":{
22+
"index":{
23+
"type":"list",
24+
"description":"A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices"
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params":{
31+
"preference":{
32+
"type":"string",
33+
"description":"Specify the node or shard the operation should be performed on (default: random)"
34+
},
35+
"routing":{
36+
"type":"string",
37+
"description":"Specific routing value"
38+
},
39+
"ignore_unavailable":{
40+
"type":"boolean",
41+
"description":"Whether specified concrete indices should be ignored when unavailable (missing or closed)"
42+
},
43+
"expand_wildcards":{
44+
"type":"enum",
45+
"options":[
46+
"open",
47+
"closed",
48+
"hidden",
49+
"none",
50+
"all"
51+
],
52+
"default":"open",
53+
"description":"Whether to expand wildcard expression to concrete indices that are open, closed or both."
54+
},
55+
"keep_alive": {
56+
"type": "string",
57+
"description": "Specific the time to live for the point in time"
58+
}
59+
}
60+
}
61+
}

api_generator/rest_specs/searchable_snapshots.clear_cache.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"searchable_snapshots.clear_cache": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-clear-cache.html",
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-apis.html",
55
"description" : "Clear the cache of searchable snapshots."
66
},
77
"stability": "experimental",

api_generator/rest_specs/searchable_snapshots.repository_stats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"searchable_snapshots.repository_stats": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-repository-stats.html",
5-
"description": "Retrieve usage statistics about a snapshot repository."
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-apis.html",
5+
"description": "DEPRECATED: This API is replaced by the Repositories Metering API."
66
},
77
"stability": "experimental",
88
"url": {

api_generator/rest_specs/searchable_snapshots.stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"searchable_snapshots.stats": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html",
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-apis.html",
55
"description": "Retrieve various statistics about searchable snapshots."
66
},
77
"stability": "experimental",

0 commit comments

Comments
 (0)