swagger: '2.0'
info:
description: This is a draft API for RIC appmgr
- version: 0.1.1
+ version: 0.1.2
title: RIC appmgr
license:
name: Apache 2.0
/health:
get:
summary: Health check of xApp Manager
+ tags:
+ - health
operationId: getHealth
responses:
'200':
/xapps:
post:
summary: Deploy a xapp
+ tags:
+ - xapp
operationId: deployXapp
consumes:
- application/json
description: Internal error
get:
summary: Returns the status of all xapps
+ tags:
+ - xapp
operationId: getAllXapps
produces:
- application/json
'/xapps/{xAppName}':
get:
summary: Returns the status of a given xapp
+ tags:
+ - xapp
operationId: getXappByName
produces:
- application/json
description: Internal error
delete:
summary: Undeploy an existing xapp
+ tags:
+ - xapp
operationId: undeployXapp
parameters:
- name: xAppName
'/xapps/{xAppName}/instances/{xAppInstanceName}':
get:
summary: Returns the status of a given xapp
+ tags:
+ - xapp
operationId: getXappInstanceByName
produces:
- application/json
/config:
post:
summary: Create xApp config
+ tags:
+ - xapp
operationId: createXappConfig
consumes:
- application/json
$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
$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
description: Internal error
delete:
summary: Delete xApp configuration
+ tags:
+ - xapp
operationId: deleteXappConfig
parameters:
- name: xAppConfigInfo
/subscriptions:
post:
summary: Subscribe event
+ tags:
+ - xapp
+ - subscriptions
operationId: addSubscription
consumes:
- application/json
description: Invalid input
get:
summary: Returns all subscriptions
+ tags:
+ - xapp
+ - subscriptions
operationId: getSubscriptions
produces:
- application/json
'/subscriptions/{subscriptionId}':
get:
summary: Returns the information of subscription
+ tags:
+ - xapp
+ - subscriptions
operationId: getSubscriptionById
produces:
- application/json
description: Subscription not found
put:
summary: Modify event subscription
+ tags:
+ - xapp
+ - subscriptions
operationId: modifySubscription
consumes:
- application/json
description: Invalid input
delete:
summary: Unsubscribe event
+ tags:
+ - xapp
+ - subscriptions
description: ''
operationId: deleteSubscription
parameters: