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

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


On 2014年01月21日 08:24, 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>
>>
>> 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
ACK
>
>> ### Collection: Distros
>>
>> **URI:** /config/distros
>




More information about the Kimchi-devel mailing list