On 04-09-2014 06:25, lvroyce(a)linux.vnet.ibm.com wrote:
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Update API.md adding upload option to storagevolume creation.
Signed-off-by: Royce Lv <lvroyce(a)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.