
On 07/14/2014 12:52 AM, Aline Manera wrote:
On 07/11/2014 06:17 AM, Hongliang Wang wrote:
Update API.json for validation.
Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com> --- src/kimchi/API.json | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/src/kimchi/API.json b/src/kimchi/API.json index d635d2c..9b6705f 100644 --- a/src/kimchi/API.json +++ b/src/kimchi/API.json @@ -41,6 +41,17 @@ } } }, + "debugreport_update": { + "type": "object", + "properties": { + "name": { + "description": "New name of debug report", + "type": "string", + "pattern": "^[A-Za-z0-9-]*$",
A patch, recently merged, changed this regex to
"pattern": "^[_A-Za-z0-9-]*$",
You can check the debugreports_create in API.json
ACK. Sorry for the omission.
+ "error": "KCHDR0007E" + } + } + }, "storagepools_create": { "type": "object", "error": "KCHPOOL0026E",