[Kimchi-devel] [PATCH v2 1/8] Debug Report Rename: Update API.json

Hongliang Wang hlwang at linux.vnet.ibm.com
Thu May 22 07:55:37 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 76c94ab..39bfc8c 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