[Kimchi-devel] [project-kimchi][PATCHv3 3/5] Storage server: Update API.md

Royce Lv lvroyce at linux.vnet.ibm.com
Mon Dec 23 06:06:18 UTC 2013


On 2013年12月06日 22:30, Mark Wu wrote:
> On 12/06/2013 06:12 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 | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>> diff --git a/docs/API.md b/docs/API.md
>> index f60d0b0..42a5cd5 100644
>> --- a/docs/API.md
>> +++ b/docs/API.md
>> @@ -436,6 +436,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.
>> + * type: Filter server list with given type, currently support 'netfs'.
> You could claim that it's a param in url. And it seems it's 
> inconsistent with what you define in API.json for it. type is better 
> for me.
I will fix inconsistency between API.json and doc. For GET request its 
param cannot put in body, and just in url.
>> +
>> ### Collection: Distros
>>
>> **URI:** /config/distros
>




More information about the Kimchi-devel mailing list