
Reviewed-by: Aline Manera <alinefm@linux.vnet.ibm.com> On 01/22/2014 02:13 PM, lvroyce@linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce@linux.vnet.ibm.com>
Add colleciton of storage targets to API.md.
Signed-off-by: Royce Lv <lvroyce@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