From 1fba68a6349404d0c0a6841a52d6982c21d3b58a Mon Sep 17 00:00:00 2001 From: Luca Cavanna Date: Fri, 17 Jan 2014 15:33:13 +0100 Subject: [PATCH] [SPEC] Added missing body object in snapshot apis --- rest-api-spec/api/snapshot.create.json | 2 ++ rest-api-spec/api/snapshot.create_repository.json | 2 ++ rest-api-spec/api/snapshot.restore.json | 2 ++ 3 files changed, 6 insertions(+) diff --git a/rest-api-spec/api/snapshot.create.json b/rest-api-spec/api/snapshot.create.json index 5c3edf0f608..e898f5e3a38 100644 --- a/rest-api-spec/api/snapshot.create.json +++ b/rest-api-spec/api/snapshot.create.json @@ -27,7 +27,9 @@ } } }, + "body" : { "description" : "The snapshot definition", "required" : false + } } } diff --git a/rest-api-spec/api/snapshot.create_repository.json b/rest-api-spec/api/snapshot.create_repository.json index d5bc9502488..9592ea4b95c 100644 --- a/rest-api-spec/api/snapshot.create_repository.json +++ b/rest-api-spec/api/snapshot.create_repository.json @@ -22,7 +22,9 @@ } } }, + "body": { "description" : "The repository definition", "required" : true + } } } diff --git a/rest-api-spec/api/snapshot.restore.json b/rest-api-spec/api/snapshot.restore.json index a51f66a8120..21ecba4e44f 100644 --- a/rest-api-spec/api/snapshot.restore.json +++ b/rest-api-spec/api/snapshot.restore.json @@ -27,7 +27,9 @@ } } }, + "body" : { "description" : "Details of what to restore", "required" : false + } } }