Files
api-specs/idn/beta/paths/trigger-subscriptions-internal.yaml
GitHub Action Bot 9269e86172 Automated commit 'added new oauth2 flow and description (#1386)
* added new oauth2 flow and description

* renamed authentication to make more sense' by github action: 5967546682
2023-08-24 18:29:03 +00:00

35 lines
975 B
YAML

post:
operationId: createSubscription
tags:
- Triggers
summary: Creates Subscription (Internal)
description: >-
This creates a subscription for a trigger which defines the way the trigger is invoked.
requestBody:
required: true
content:
application/json:
schema:
$ref: '../schemas/SubscriptionInternal.yaml'
responses:
'201':
description: >-
Created subscription object. The trigger can then be invoked by the method defined in the subscription.
content:
application/json:
schema:
$ref: '../schemas/SubscriptionInternal.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [sp:trigger-service-subscriptions:manage]