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

Aline Manera alinefm at linux.vnet.ibm.com
Tue Jan 21 00:24:59 UTC 2014


On 01/20/2014 07:32 AM, 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 88a9a41..7fbce77 100644
> --- a/docs/API.md
> +++ b/docs/API.md
> @@ -508,6 +508,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'.
> +

In addition to the query parameters, you should also list the parameter 
returned by GET

>   ### Collection: Distros
>
>   **URI:** /config/distros




More information about the Kimchi-devel mailing list