[Kimchi-devel] [PATCHv5 6/8] storage target: Update API.md

Sheldon shaohef at linux.vnet.ibm.com
Tue Jan 7 12:59:26 UTC 2014


On 01/07/2014 05:43 PM, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> Add colleciton of storage targets to API.md.
>
> Signed-off-by: Royce Lv <lvroyce at 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 at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list