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

lvroyce0210 at gmail.com lvroyce0210 at gmail.com
Wed Sep 3 11:58:47 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 298441f..ca64af6 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
 
 ### Resource: Storage Volume
 
-- 
1.8.3.2




More information about the Kimchi-devel mailing list