Commit 94f4c75f authored by piscione's avatar piscione

Added callback to subscription endpoint.

parent 3b6ec10e
Pipeline #5837 running with stage
......@@ -327,6 +327,28 @@ paths:
$ref: '#/components/responses/422'
'429':
$ref: '#/components/responses/429'
callbacks:
notification:
'{$request.body#/callbackReference}':
post:
summary: 'Callback POST used to send a notification'
description: 'A notification from FAIS.'
operationId: notificationPOST
requestBody:
description: Subscription notification
required: true
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/OnuAlarmNotification'
- $ref: '#/components/schemas/DevInfoNotification'
- $ref: '#/components/schemas/CmConnNotification'
- $ref: '#/components/schemas/AniAlarmNotification'
responses:
'204':
$ref: '#/components/responses/204'
/subscriptions/{subscriptionId}:
parameters:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment