[Kimchi-devel] [PATCHv9 3/8] Storage server: Update API.md

Royce Lv lvroyce at linux.vnet.ibm.com
Tue Jan 21 09:37:23 UTC 2014


On 2014年01月21日 03:43, Aline Manera wrote:
> On 01/20/2014 07:32 AM, 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 | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/docs/API.md b/docs/API.md
>> index f872eab..88a9a41 100644
>> --- a/docs/API.md
>> +++ b/docs/API.md
>> @@ -495,6 +495,19 @@ 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.
>> + * _target_type: Filter server list with given type, currently 
>> support 'netfs'.
>
> You need to add Storage Server (Resource) to API.md too
>
>
> ### Resource: Storage Server
>
> **URI:** /storageservers/*:host*
>
> **Methods:**
>
> * **GET**: Retrieve the full description of a Storage Server
> * host: IP or host name of storage server
ACK
>
>> +
>> ### Collection: Distros
>>
>> **URI:** /config/distros
>




More information about the Kimchi-devel mailing list