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

34 lines
737 B
YAML

post:
tags:
- Flows (Streams)
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
description: Flow ID
required: true
schema:
type: integer
summary: Enable flow
description: Changes the state to 'active'.
responses:
'200':
description: Flow
content:
application/json:
schema:
$ref: ../schemas/Stream.yaml
'400':
$ref: ../responses/BadRequest.yaml
'401':
$ref: ../responses/Unauthorized.yaml
'402':
$ref: ../responses/PaymentRequired.yaml
'404':
$ref: ../responses/NotFound.yaml
'406':
$ref: ../responses/NotAcceptable.yaml
'500':
$ref: ../responses/InternalError.yaml