Reviewed-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
On 04/13/2014 05:16 AM, lvroyce(a)linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Update API.md to support manage guest disks
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
docs/API.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/API.md b/docs/API.md
index 143c70c..223d57a 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -122,17 +122,17 @@ Represents a snapshot of the Virtual Machine's primary
monitor.
* **GET**: Retrieve a summarized list of all storages of specified guest
* **POST**: Attach a new storage or virtual drive to specified virtual machine.
* dev: The name of the storage in the vm.
- * type: The type of the storage (currently supports 'cdrom' only).
- * path: Path of cdrom iso.
+ * type: The type of the storage (currently support 'cdrom' and
'disk').
+ * path: Path of cdrom iso or disk image file.
### Sub-resource: storage
**URI:** /vms/*:name*/storages/*:dev*
* **GET**: Retrieve storage information
* dev: The name of the storage in the vm.
- * type: The type of the storage ('cdrom' only for now).
- * path: Path of cdrom iso.
+ * type: The type of the storage (currently support 'cdrom' and
'disk').
+ * path: Path of cdrom iso or disk image file.
* **PUT**: Update storage information
- * path: Path of cdrom iso. Can not be blank.
+ * path: Path of cdrom iso. Can not be blank. Now just support cdrom type.
* **DELETE**: Remove the storage.