Updated slm API spec parameters and URL (#44797) (#45102)

This commit is contained in:
Tomas Della Vedova 2019-08-02 11:39:52 +02:00 committed by GitHub
parent f617585dbd
commit 6b71621afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
{
"slm.delete_lifecycle": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete.html",
"stability": "stable",
"methods": [ "DELETE" ],
"url": {
"path": "/_slm/policy/{policy_id}",
"paths": ["/_slm/policy/{policy_id}"],
"parts": {
"policy": {
"policy_id": {
"type" : "string",
"description" : "The id of the snapshot lifecycle policy to remove"
}

View File

@ -1,6 +1,6 @@
{
"slm.execute_lifecycle": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute.html",
"stability": "stable",
"methods": [ "PUT" ],
"url": {

View File

@ -1,6 +1,6 @@
{
"slm.get_lifecycle": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get.html",
"stability": "stable",
"methods": [ "GET" ],
"url": {

View File

@ -1,6 +1,6 @@
{
"slm.put_lifecycle": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html",
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put.html",
"stability": "stable",
"methods": [ "PUT" ],
"url": {