X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=api%2Fric-dms-api-2.0.yaml;h=510bdda695d5791f5310ac257d53241e528a66d5;hb=51803ca2559db8160f42cc4688c57542ef65c733;hp=421dbcdd3eeea3143ca1fb1667c5d5104bbfe4a7;hpb=e3ac46a8c1e74aa6fea57bb7d92e763bd4bd6b7c;p=ric-plt%2Fricdms.git diff --git a/api/ric-dms-api-2.0.yaml b/api/ric-dms-api-2.0.yaml index 421dbcd..510bdda 100644 --- a/api/ric-dms-api-2.0.yaml +++ b/api/ric-dms-api-2.0.yaml @@ -27,6 +27,25 @@ host: localhost:8000 schemes: - http paths: + /custom-onboard: + post: + summary: onboard helm pkg (custom onboarding) + consumes: + - multipart/form-data + parameters: + - in: formData + name: helmpkg + type: file + description: This file represents the helm chart. + responses: + '200': + description: successfully onboarded helmchart + '500': + description: helmchart onboard failed + schema: + $ref: '#/definitions/error_message' + tags: + - experiment /charts: get: produces: @@ -49,7 +68,6 @@ paths: get: produces: - application/zip - - text/json parameters: - in: path name: xApp_name @@ -63,8 +81,7 @@ paths: '200': description: Download helm chart OK schema: - format: binary - type: string + type: file '500': description: Get helm chart values.yaml failed schema: @@ -128,7 +145,6 @@ paths: get: produces: - application/json - - application/gzip parameters: - in: path name: xApp_name @@ -140,11 +156,11 @@ paths: type: string responses: '200': - description: Get helm chart package OK + description: Get helm chart details OK schema: - type: file + type: object '500': - description: Get helm chart package failed + description: Get helm chart details failed schema: $ref: '#/definitions/error_message' tags: @@ -197,7 +213,7 @@ paths: description: successful un-deploy xApp schema: type: object - '501': + '500': description: un-deployment failed schema: $ref: '#/definitions/error_message' @@ -221,7 +237,7 @@ paths: description: successful deployment of xApp schema: type: object - '501': + '500': description: deployment failed schema: $ref: '#/definitions/error_message'