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

Royce Lv lvroyce at linux.vnet.ibm.com
Mon Jan 20 03:11:00 UTC 2014


On 2014年01月18日 02:45, Aline Manera wrote:
> On 01/17/2014 04:07 PM, Aline Manera wrote:
>>
>> Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
>>
>> On 01/14/2014 01:47 PM, lvroyce0210 at gmail.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 7bed7a0..7142117 100644
>>> --- a/docs/API.md
>>> +++ b/docs/API.md
>>> @@ -458,6 +458,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 also need to add "Storage Server (Resource)" and which values GET 
> returns
I added this in previous version but deleted at last. Because for 
storage server, we only care about address, which can be get from 
/storageservers?query_param
This resource yeilds no other information and should not expose to users.
>
>>> +
>>> ### Collection: Distros
>>>
>>> **URI:** /config/distros
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>>
>
> _______________________________________________
> 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