[Kimchi-devel] [PATCHv9 03/10] Storage server: Update API.md

Aline Manera alinefm at linux.vnet.ibm.com
Thu Jan 23 12:59:53 UTC 2014


Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>

On 01/22/2014 02:13 PM, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> Update API.md to specify storage server api.
>
> Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
> ---
>   docs/API.md | 23 +++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>
> diff --git a/docs/API.md b/docs/API.md
> index f872eab..8b1e971 100644
> --- a/docs/API.md
> +++ b/docs/API.md
> @@ -495,6 +495,29 @@ creation.
>         not tested yet
>   * **POST**: *See Configuration Actions*
>
> +**Actions (POST):**
> +
> +*No actions defined*
> +
> +### Collection: Storage Servers
> +
> +**URI:** /storageservers
> +
> +**Methods:**
> +
> +* **GET**: Retrieve a summarized list of used storage servers.
> +    * Parameters:
> +        * _target_type: Filter server list with given type, currently support 'netfs'.
> +
> +### Resource: Storage Server
> +
> +**URI:** /storageservers/*:host*
> +
> +**Methods:**
> +
> +* **GET**: Retrieve description of a Storage Server
> +    * host: IP or host name of storage server
> +
>   ### Collection: Distros
>
>   **URI:** /config/distros




More information about the Kimchi-devel mailing list