[Kimchi-devel] [PATCHv9 06/10] storage target: Update API.md
lvroyce at linux.vnet.ibm.com
lvroyce at linux.vnet.ibm.com
Wed Jan 22 16:13:36 UTC 2014
From: Royce Lv <lvroyce at linux.vnet.ibm.com>
Add colleciton of storage targets to API.md.
Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
docs/API.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docs/API.md b/docs/API.md
index 8b1e971..a86b884 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -518,6 +518,20 @@ creation.
* **GET**: Retrieve description of a Storage Server
* host: IP or host name of storage server
+### Collection: Storage Targets
+
+**URI:** /storageservers/*:name*/storagetargets
+
+**Methods:**
+
+* **GET**: Retrieve a list of available storage targets.
+ * Parameters:
+ * _target_type: Filter target list with given type, currently support 'netfs'.
+ * Response: A list with storage targets information.
+ * host: IP or host name of storage server of this target.
+ * target_type: Type of storage target, supported: 'nfs'.
+ * target: Storage target path.
+
### Collection: Distros
**URI:** /config/distros
--
1.8.1.2
More information about the Kimchi-devel
mailing list