On 01/07/2014 05:43 PM, lvroyce(a)linux.vnet.ibm.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'.
just get target_type?
target_path?
+
### Collection: Distros
**URI:** /config/distros
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center