X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Swagger%2FE2Manager_API.yaml;h=7ee4a302f73c9e5ef79aa925dfa8907c786865da;hb=fe8d481d7f3e8d4b889ee3dcd995984eeb64cc6e;hp=cbcde2e0bb82e655b169ca8bd9e00570d218095b;hpb=64dc6b9da7e913c3ea89671be12a33b6d2b8c6f0;p=ric-plt%2Fe2mgr.git diff --git a/Swagger/E2Manager_API.yaml b/Swagger/E2Manager_API.yaml index cbcde2e..7ee4a30 100644 --- a/Swagger/E2Manager_API.yaml +++ b/Swagger/E2Manager_API.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: E2 Manager Service description: E2 Manager Service APIs - version: 5.2.14 + version: 5.4.5 servers: - url: 'http://{apiRoot}/v1' variables: @@ -47,11 +47,43 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' + /nodeb/enb: + post: + summary: Add eNB + tags: + - nodeb + operationId: AddEnb + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AddEnbRequest' + required: true + responses: + '200': + description: Successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/NodebResponse' + '400': + description: Invalid input + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '500': + description: Internal error + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ErrorResponse' + '/nodeb/enb/{ranName}': delete: tags: - nodeb - summary: Delete ENB + summary: Delete eNB operationId: DeleteEnb parameters: - name: ranName @@ -88,7 +120,7 @@ paths: put: tags: - nodeb - summary: Update ENB + summary: Update eNB operationId: UpdateEnb parameters: - name: ranName @@ -122,9 +154,9 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - '/nodeb/{ranName}/update': + '/nodeb/gnb/{ranName}': put: - summary: Update GNB + summary: Update gNB Cells tags: - nodeb operationId: UpdateGnb @@ -180,7 +212,7 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - /nodeb/ids: + /nodeb/states: get: tags: - nodeb @@ -260,37 +292,6 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ErrorResponse' - /nodeb/enb: - post: - summary: Add ENB - tags: - - nodeb - operationId: AddEnb - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddEnbRequest' - required: true - responses: - '200': - description: Successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/NodebResponse' - '400': - description: Invalid input - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ErrorResponse' - '500': - description: Internal error - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ErrorResponse' components: schemas: UpdateGnbRequest: @@ -328,6 +329,8 @@ components: type: object inventoryName: type: string + connectionStatus: + type: string type: object ErrorResponse: type: object @@ -556,6 +559,10 @@ components: type: object Gnb: properties: + gnbType: + oneOf: + - type: string + - type: integer servedNrCells: $ref: '#/components/schemas/ServedNrCells' ranFunctions: @@ -1038,5 +1045,7 @@ components: type: string setupFailure: $ref: '#/components/schemas/SetupFailure' + setupFromNetwork: + type: boolean additionalProperties: false - type: object \ No newline at end of file + type: object