+ "/config": {
+ "post": {
+ "summary": "Create xApp config",
+ "tags": [
+ "xapp"
+ ],
+ "operationId": "createXappConfig",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "XAppConfig",
+ "in": "body",
+ "description": "xApp config",
+ "schema": {
+ "$ref": "#/definitions/XAppConfig"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "xApp config successfully created",
+ "schema": {
+ "$ref": "#/definitions/XAppConfig"
+ }
+ },
+ "400": {
+ "description": "Invalid input"
+ },
+ "422": {
+ "description": "Validation of configuration failed"
+ },
+ "500": {
+ "description": "Internal error"
+ }
+ }
+ },
+ "put": {
+ "summary": "Modify xApp config",
+ "tags": [
+ "xapp"
+ ],
+ "operationId": "ModifyXappConfig",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "XAppConfig",
+ "in": "body",
+ "description": "xApp config",
+ "schema": {
+ "$ref": "#/definitions/XAppConfig"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "xApp config successfully modified",
+ "schema": {
+ "$ref": "#/definitions/XAppConfig"
+ }
+ },
+ "400": {
+ "description": "Invalid input"
+ },
+ "422": {
+ "description": "Validation of configuration failed"
+ },
+ "500": {
+ "description": "Internal error"
+ }
+ }
+ },
+ "get": {
+ "summary": "Returns the configuration of all xapps",
+ "tags": [
+ "xapp"
+ ],
+ "operationId": "getAllXappConfig",
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "successful query of xApp config",
+ "schema": {
+ "$ref": "#/definitions/AllXappConfig"
+ }
+ },
+ "500": {
+ "description": "Internal error"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete xApp configuration",
+ "tags": [
+ "xapp"
+ ],
+ "operationId": "deleteXappConfig",
+ "parameters": [
+ {
+ "name": "ConfigMetadata",
+ "in": "body",
+ "description": "xApp configuration information",
+ "schema": {
+ "$ref": "#/definitions/ConfigMetadata"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Successful deletion of xApp"
+ },
+ "400": {
+ "description": "Invalid parameters supplied"
+ },
+ "500": {
+ "description": "Internal error"
+ }
+ }
+ }
+ },