"swagger": "2.0",
"info": {
"description": "This is a draft API for RIC appmgr",
- "version": "0.1.3",
+ "version": "0.1.5",
"title": "RIC appmgr",
"license": {
"name": "Apache 2.0",
"host": "hostname",
"basePath": "/ric/v1",
"schemes": [
- "https",
"http"
],
"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": {
}
},
"definitions": {
- "AllXapps": {
+ "AllDeployableXapps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "example": "xapp-dummy"
+ }
+ },
+ "AllDeployedXapps": {
"type": "array",
"items": {
"$ref": "#/definitions/Xapp"
]
},
"xApps": {
- "$ref": "#/definitions/AllXapps"
+ "$ref": "#/definitions/AllDeployedXapps"
}
}
}