[Kimchi-devel] [PATCHv9 03/10] Storage server: Update API.md
lvroyce at linux.vnet.ibm.com
lvroyce at linux.vnet.ibm.com
Wed Jan 22 16:13:33 UTC 2014
From: Royce Lv <lvroyce at linux.vnet.ibm.com>
Update API.md to specify storage server api.
Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
---
docs/API.md | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/docs/API.md b/docs/API.md
index f872eab..8b1e971 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -495,6 +495,29 @@ creation.
not tested yet
* **POST**: *See Configuration Actions*
+**Actions (POST):**
+
+*No actions defined*
+
+### Collection: Storage Servers
+
+**URI:** /storageservers
+
+**Methods:**
+
+* **GET**: Retrieve a summarized list of used storage servers.
+ * Parameters:
+ * _target_type: Filter server list with given type, currently support 'netfs'.
+
+### Resource: Storage Server
+
+**URI:** /storageservers/*:host*
+
+**Methods:**
+
+* **GET**: Retrieve description of a Storage Server
+ * host: IP or host name of storage server
+
### Collection: Distros
**URI:** /config/distros
--
1.8.1.2
More information about the Kimchi-devel
mailing list