On 01/08/2014 11:50 PM, lvroyce0210(a)gmail.com wrote:
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Add colleciton of storage targets to API.md.
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
docs/API.md | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/docs/API.md b/docs/API.md
index 7a25eda..0244416 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -469,6 +469,15 @@ creation.
* **GET**: Retrieve a summarized list of used storage servers.
* target_type: Filter server list with given type, currently support
'netfs'.
+### Collection: Storage Targets
+
+**URI:** /storageservers/*:name*/storagetargets
+
+**Methods:**
+
+* **GET**: Retrieve a list of available storage targets.
+ * target_type: Filter target list with given type, currently support
'netfs'.
+
not sure API.md reader can know well this is a query params?
### Collection: Distros
**URI:** /config/distros
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center