Browse Source

[SPEC] Fix cardinality of the repository parameter in get snapshot action

Igor Motov 11 years ago
parent
commit
749e4d7944
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rest-api-spec/api/snapshot.get.json

+ 2 - 2
rest-api-spec/api/snapshot.get.json

@@ -7,9 +7,9 @@
       "paths": ["/_snapshot/{repository}/{snapshot}"],
       "parts": {
         "repository": {
-          "type": "list",
+          "type": "string",
           "required" : true,
-          "description": "A comma-separated list of repository names"
+          "description": "A repository name"
         },
         "snapshot": {
           "type": "list",