X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=api%2Fric-dms-api-2.0.yaml;h=6348b6a64295a0237ec685e87abbae574c38f5b3;hb=6e2ec74c61155c0123f6df166064c1dec4b1c50b;hp=ff55bf953054e5efd6099cd2c2c99711162db904;hpb=d8d204f3ca9ebfd256043f6a0de526887fdcace9;p=ric-plt%2Fricdms.git diff --git a/api/ric-dms-api-2.0.yaml b/api/ric-dms-api-2.0.yaml index ff55bf9..6348b6a 100644 --- a/api/ric-dms-api-2.0.yaml +++ b/api/ric-dms-api-2.0.yaml @@ -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: @@ -49,7 +64,6 @@ paths: get: produces: - application/zip - - text/json parameters: - in: path name: xApp_name @@ -63,8 +77,7 @@ paths: '200': description: Download helm chart OK schema: - format: binary - type: string + type: file '500': description: Get helm chart values.yaml failed schema: @@ -196,7 +209,7 @@ paths: description: successful un-deploy xApp schema: type: object - '501': + '500': description: un-deployment failed schema: $ref: '#/definitions/error_message' @@ -220,7 +233,7 @@ paths: description: successful deployment of xApp schema: type: object - '501': + '500': description: deployment failed schema: $ref: '#/definitions/error_message'