Skip to content

Commit 6b71621

Browse files
authored
Updated slm API spec parameters and URL (#44797) (#45102)
1 parent f617585 commit 6b71621

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"slm.delete_lifecycle": {
3-
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete.html",
44
"stability": "stable",
55
"methods": [ "DELETE" ],
66
"url": {
77
"path": "/_slm/policy/{policy_id}",
88
"paths": ["/_slm/policy/{policy_id}"],
99
"parts": {
10-
"policy": {
10+
"policy_id": {
1111
"type" : "string",
1212
"description" : "The id of the snapshot lifecycle policy to remove"
1313
}

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"slm.execute_lifecycle": {
3-
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute.html",
44
"stability": "stable",
55
"methods": [ "PUT" ],
66
"url": {

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"slm.get_lifecycle": {
3-
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get.html",
44
"stability": "stable",
55
"methods": [ "GET" ],
66
"url": {

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"slm.put_lifecycle": {
3-
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put.html",
44
"stability": "stable",
55
"methods": [ "PUT" ],
66
"url": {

0 commit comments

Comments
 (0)