[Kimchi-devel] [PATCH v6 01/10] Debug Report Rename: Update API.json

Hongliang Wang hlwang at linux.vnet.ibm.com
Mon Jul 14 09:45:17 UTC 2014


Update API.json for validation.

Signed-off-by: Hongliang Wang <hlwang at 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..3616509 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-]*$",
+                    "error": "KCHDR0007E"
+                }
+            }
+        },
         "storagepools_create": {
             "type": "object",
             "error": "KCHPOOL0026E",
-- 
1.8.1.4




More information about the Kimchi-devel mailing list