rest-api-spec.api.slm.put_lifecycle.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-spec Show documentation
Show all versions of rest-api-spec Show documentation
Elasticsearch subproject :rest-api-spec
The newest version!
{
"slm.put_lifecycle":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html",
"description":"Creates or updates a snapshot lifecycle policy."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
},
"url":{
"paths":[
{
"path":"/_slm/policy/{policy_id}",
"methods":[
"PUT"
],
"parts":{
"policy_id":{
"type":"string",
"description":"The id of the snapshot lifecycle policy"
}
}
}
]
},
"params":{},
"body":{
"description":"The snapshot lifecycle policy definition to register"
}
}
}