Commit 94f4c75f authored by piscione's avatar piscione
Browse files

Added callback to subscription endpoint.

parent 3b6ec10e
Loading
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -328,6 +328,28 @@ paths:
        '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:
    - in: path