X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=app-mgr-client%2Fsrc%2Fmain%2Fresources%2Fxapp_manager_rest_api_v0_1_5.yaml;fp=xapp-mgr-client%2Fsrc%2Fmain%2Fresources%2Fxapp_manager_rest_api_v0_1_4.yaml;h=eb89359466c7bb02ea306665bff10117ccc80ace;hb=80f26bbeef6caea8f9946e8a0e1a5e0319dacc38;hp=7d316ce680245b05617b92670b8a02d0f8d223dd;hpb=1fde0c3b93c9cf75b9e48382f298f644b03fa249;p=portal%2Fric-dashboard.git diff --git a/xapp-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_4.yaml b/app-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_5.yaml similarity index 95% rename from xapp-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_4.yaml rename to app-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_5.yaml index 7d316ce6..eb893594 100644 --- a/xapp-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_4.yaml +++ b/app-mgr-client/src/main/resources/xapp_manager_rest_api_v0_1_5.yaml @@ -1,8 +1,8 @@ # ========================LICENSE_START================================= # O-RAN-SC -# %% +# # Copyright (C) 2019 AT&T Intellectual Property and Nokia -# %% +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -18,7 +18,7 @@ swagger: '2.0' info: description: This is a draft API for RIC appmgr - version: 0.1.4 + version: 0.1.5 title: RIC appmgr license: name: Apache 2.0 @@ -111,7 +111,22 @@ paths: '200': description: successful query of xApps schema: - $ref: '#/definitions/AllXapps' + $ref: '#/definitions/AllDeployedXapps' + '500': + description: Internal error + '/xapps/list': + get: + summary: Returns the list of all deployable xapps + tags: + - xapp + operationId: listAllXapps + produces: + - application/json + responses: + '200': + description: successful list of deployable xApps + schema: + $ref: '#/definitions/AllDeployableXapps' '500': description: Internal error '/xapps/{xAppName}': @@ -382,7 +397,12 @@ paths: '400': description: Invalid subscription supplied definitions: - AllXapps: + AllDeployableXapps: + type: array + items: + type: string + example: "xapp-dummy" + AllDeployedXapps: type: array items: $ref: '#/definitions/Xapp' @@ -573,4 +593,4 @@ definitions: - deleted - updated xApps: - $ref: '#/definitions/AllXapps' + $ref: '#/definitions/AllDeployedXapps'