[Kimchi-devel] [PATCH v5 1/7] Storage volume upload: Update API.md

Crístian Viana vianac at linux.vnet.ibm.com
Fri Sep 5 16:44:50 UTC 2014


From: Royce Lv <lvroyce at linux.vnet.ibm.com>

Update API.md adding upload option to storagevolume creation.

Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
 docs/API.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/API.md b/docs/API.md
index 9b1bff3..c070fa7 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -413,11 +413,13 @@ A interface represents available network interface on VM.
            in the defined Storage Pool
 * **POST**: Create a new Storage Volume in the Storage Pool
             The return resource is a task resource * See Resource: Task *
+            Only one of 'file', 'capacity', 'url' can be specified.
     * name: The name of the Storage Volume
     * type: The type of the defined Storage Volume
     * capacity: The total space which can be used to store volumes
                 The unit is MBytes
     * format: The format of the defined Storage Volume
+    * file: File to be uploaded, passed through form data
     * url: URL to be downloaded
 
 ### Resource: Storage Volume
-- 
1.9.3




More information about the Kimchi-devel mailing list