[Kimchi-devel] [PATCHv4 1/7] Storage volume upload: Update API.md

Crístian Viana vianac at linux.vnet.ibm.com
Thu Sep 4 20:59:45 UTC 2014


On 04-09-2014 06:25, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> Update API.md adding upload option to storagevolume creation.
>
> Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>

You should also update the file "src/kimchi/API.json" and add the new 
parameter "file". I just sent a new revision of my patch with this 
change as well.
I discussed with Aline today about this, and it seems your case is a 
little different than mine: what should be the type of the parameter 
"file"? AFAIU, that parameter sends the file's binary data (not its name 
or its path) so we can't use "string". If you can find the correct data 
type for that (e.g. something like blob), please make this change.




More information about the Kimchi-devel mailing list