API update
Change-Id: I1ad0d7202227b01ff14d8433f27bead15d8c5a99
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/api/xapp_rest_api.yaml b/api/xapp_rest_api.yaml
index 373fc7a..efd5b8c 100755
--- a/api/xapp_rest_api.yaml
+++ b/api/xapp_rest_api.yaml
@@ -82,6 +82,10 @@
- "common"
summary: Unsubscribe X2AP events from Subscription Manager
operationId: Unsubscribe
+ consumes:
+ - application/json
+ produces:
+ - application/json
parameters:
- name: subscriptionId
in: path
@@ -242,23 +246,28 @@
type: integer
PolicyParameterValue:
type: integer
- SubscriptionResponseItem:
+ SubscriptionInstance:
type: object
required:
- - SubscriptionId
- RequestorId
- InstanceId
properties:
- SubscriptionId:
- type: string
RequestorId:
type: integer
InstanceId:
type: integer
SubscriptionResponse:
- type: array
- items:
- $ref: '#/definitions/SubscriptionResponseItem'
+ type: object
+ required:
+ - SubscriptionId
+ - SubscriptionInstances
+ properties:
+ SubscriptionId:
+ type: string
+ SubscriptionInstances:
+ type: array
+ items:
+ $ref: '#/definitions/SubscriptionInstance'
SubscriptionData:
type: object
properties: