Skip to content

Commit 38b2a01

Browse files
committed
Update REST specs and regenerate client
1 parent 88eb560 commit 38b2a01

19 files changed

+175
-25
lines changed

api_generator/rest_specs/cat.ml_datafeeds.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@
2828
]
2929
},
3030
"params":{
31-
"allow_no_datafeeds":{
31+
"allow_no_match":{
3232
"type":"boolean",
3333
"required":false,
3434
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)"
3535
},
36+
"allow_no_datafeeds":{
37+
"type":"boolean",
38+
"required":false,
39+
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)",
40+
"deprecated":true
41+
},
3642
"format":{
3743
"type":"string",
3844
"description":"a short version of the Accept header, e.g. json, yaml"

api_generator/rest_specs/cat.ml_jobs.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@
2828
]
2929
},
3030
"params":{
31-
"allow_no_jobs":{
31+
"allow_no_match":{
3232
"type":"boolean",
3333
"required":false,
3434
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)"
3535
},
36+
"allow_no_jobs":{
37+
"type":"boolean",
38+
"required":false,
39+
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)",
40+
"deprecated":true
41+
},
3642
"bytes":{
3743
"type":"enum",
3844
"description":"The unit in which to display byte values",

api_generator/rest_specs/clear_scroll.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"clear_scroll":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html",
55
"description":"Explicitly clears the search context for a scroll."
66
},
77
"stability":"stable",

api_generator/rest_specs/indices.add_block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.add_block":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html",
55
"description":"Adds a block to an index."
66
},
77
"stability":"stable",

api_generator/rest_specs/indices.create_data_stream.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"indices.create_data_stream":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html",
5-
"description":"Creates or updates a data stream"
5+
"description":"Creates a data stream"
66
},
77
"stability":"stable",
88
"url":{
@@ -22,9 +22,6 @@
2222
]
2323
},
2424
"params":{
25-
},
26-
"body":{
27-
"description":"The data stream definition"
2825
}
2926
}
3027
}

api_generator/rest_specs/indices.resolve_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.resolve_index":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index.html",
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html",
55
"description":"Returns information about any matching indices, aliases, and data streams"
66
},
77
"stability":"experimental",

api_generator/rest_specs/ml.close_job.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,17 @@
2222
]
2323
},
2424
"params":{
25-
"allow_no_jobs":{
25+
"allow_no_match":{
2626
"type":"boolean",
2727
"required":false,
2828
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)"
2929
},
30+
"allow_no_jobs":{
31+
"type":"boolean",
32+
"required":false,
33+
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)",
34+
"deprecated":true
35+
},
3036
"force":{
3137
"type":"boolean",
3238
"required":false,

api_generator/rest_specs/ml.get_datafeed_stats.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@
2828
]
2929
},
3030
"params":{
31-
"allow_no_datafeeds":{
31+
"allow_no_match":{
3232
"type":"boolean",
3333
"required":false,
3434
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)"
35+
},
36+
"allow_no_datafeeds":{
37+
"type":"boolean",
38+
"required":false,
39+
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)",
40+
"deprecated":true
3541
}
3642
}
3743
}

api_generator/rest_specs/ml.get_datafeeds.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@
2828
]
2929
},
3030
"params":{
31-
"allow_no_datafeeds":{
31+
"allow_no_match":{
3232
"type":"boolean",
3333
"required":false,
3434
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)"
35+
},
36+
"allow_no_datafeeds":{
37+
"type":"boolean",
38+
"required":false,
39+
"description":"Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)",
40+
"deprecated":true
3541
}
3642
}
3743
}

api_generator/rest_specs/ml.get_job_stats.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@
2828
]
2929
},
3030
"params":{
31-
"allow_no_jobs":{
31+
"allow_no_match":{
3232
"type":"boolean",
3333
"required":false,
3434
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)"
35+
},
36+
"allow_no_jobs":{
37+
"type":"boolean",
38+
"required":false,
39+
"description":"Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)",
40+
"deprecated":true
3541
}
3642
}
3743
}

0 commit comments

Comments
 (0)