Skip to content

Commit

Permalink
Update snapshot.delete.json to make snapshot a list (#57326)
Browse files Browse the repository at this point in the history
Relates: #55474

This commit updates the snapshot.delete.json REST API spec
to make snapshot a list type, now that it can accept a
list of comma-separated snapshot names
  • Loading branch information
russcam authored Jun 2, 2020
1 parent 2b6853f commit f77005a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"snapshot.delete":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
"description":"Deletes a snapshot."
"description":"Deletes one or more snapshots."
},
"stability":"stable",
"url":{
Expand All @@ -18,8 +18,8 @@
"description":"A repository name"
},
"snapshot":{
"type":"string",
"description":"A snapshot name"
"type":"list",
"description":"A comma-separated list of snapshot names"
}
}
}
Expand Down

0 comments on commit f77005a

Please sign in to comment.