Skip to content

Commit 54ba2af

Browse files
committed
Updated slm API spec parameters and URL (elastic#44797)
1 parent 48dc53f commit 54ba2af

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

+2-2
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

+1-1
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

+1-1
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

+1-1
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)