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

On 12/06/2013 06:12 PM, lvroyce@linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce@linux.vnet.ibm.com>
Update API.md to specify storage server api.
Signed-off-by: Royce Lv <lvroyce@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
On 2013年12月06日 22:30, Mark Wu wrote: param cannot put in body, and just in url.
+ ### Collection: Distros
**URI:** /config/distros
participants (1)
-
Royce Lv