mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 12:27:48 +00:00
39 lines
1000 B
YAML
39 lines
1000 B
YAML
post:
|
|
operationId: completeTriggerInvocation
|
|
tags:
|
|
- Triggers
|
|
summary: Complete Trigger Invocation
|
|
description: Completes an invocation to a REQUEST_RESPONSE type trigger.
|
|
parameters:
|
|
- in: path
|
|
name: id
|
|
schema:
|
|
type: string
|
|
required: true
|
|
description: The ID of the invocation to complete.
|
|
example: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/CompleteInvocation.yaml'
|
|
example:
|
|
secret: "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde"
|
|
output: {
|
|
"approved": false
|
|
}
|
|
responses:
|
|
'204':
|
|
$ref: '../../v3/responses/204.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'
|