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

Aline Manera alinefm at linux.vnet.ibm.com
Fri Jan 17 18:46:26 UTC 2014


On 01/17/2014 04:38 PM, Aline Manera wrote:
>
> Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
>
> On 01/14/2014 01:48 PM, lvroyce0210 at gmail.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 7142117..88787d8 100644
>> --- a/docs/API.md
>> +++ b/docs/API.md
>> @@ -471,6 +471,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'.
>> +

You also need to add "Storage target (Resource)" and which parameters 
GET returns

>>   ### Collection: Distros
>>
>>   **URI:** /config/distros
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>




More information about the Kimchi-devel mailing list