keitaro-api-skill/references/paths/streams.yaml

32 lines
714 B
YAML

post:
tags:
- Flows (Streams)
security:
- ApiKeyAuth: []
summary: Create flow
description: Creates flow
requestBody:
description: Create a Flow
required: true
content:
application/json:
schema:
$ref: ../schemas/StreamRequest.yaml
responses:
'200':
description: Create a Flow
content:
application/json:
schema:
$ref: ../schemas/Stream.yaml
'400':
$ref: ../responses/BadRequest.yaml
'401':
$ref: ../responses/Unauthorized.yaml
'402':
$ref: ../responses/PaymentRequired.yaml
'406':
$ref: ../responses/NotAcceptable.yaml
'500':
$ref: ../responses/InternalError.yaml