
On 2014年01月18日 02:46, Aline Manera wrote:
On 01/17/2014 04:38 PM, Aline Manera wrote:
Reviewed-by: Aline Manera <alinefm@linux.vnet.ibm.com>
On 01/14/2014 01:48 PM, lvroyce0210@gmail.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 | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/docs/API.md b/docs/API.md index 7142117..88787d8 100644 --- a/docs/API.md +++ b/docs/API.md @@ -471,6 +471,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'. +
You also need to add "Storage target (Resource)" and which parameters GET returns GET /storageservers/*:name*/storagetargets?target_type=netfs returns 2 targets: [{'host': 'localhost', 'type': 'netfs', 'path':'/abcde'},{'host': 'localhost', 'type': 'netfs', 'path':'/efgh'}] Its already complete information.
Do we need more information for individual target:{'host': 'localhost', 'type': 'netfs', 'path':'/abcde'}? I can't figure out what information that will be.
### Collection: Distros
**URI:** /config/distros
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel