Add API for custom onboard
[ric-plt/ricdms.git] / api / ric-dms-api-2.0.yaml
index 2243a42..6348b6a 100644 (file)
@@ -27,6 +27,21 @@ host: localhost:8000
 schemes:
   - http
 paths:
+  /custom-onboard:
+    post:
+      summary: upload a file
+      consumes:
+        - multipart/form-data
+      parameters:
+        - in: formData
+          name: upfile
+          type: file
+          description: api to upload file
+      responses:
+        '200':
+          description: successfully uploaded
+      tags:
+        - experiment
   /charts:
     get:
       produces:
@@ -194,7 +209,7 @@ paths:
           description: successful un-deploy xApp
           schema:
             type: object
-        '501':
+        '500':
           description: un-deployment failed
           schema:
             $ref: '#/definitions/error_message'
@@ -218,7 +233,7 @@ paths:
           description: successful deployment of xApp
           schema:
             type: object
-        '501':
+        '500':
           description: deployment failed
           schema:
             $ref: '#/definitions/error_message'