flows_instances_import_create
POST/api/v3//flows/instances/import/
Import flow from .yaml file
Request
- multipart/form-data
Body
file binary
clear boolean
Responses
- 204
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
logs
object[]
required
success booleanrequired
{
"logs": [
{
"timestamp": "2024-07-29T15:51:28.071Z",
"log_level": "critical",
"logger": "string",
"event": "string",
"attributes": {}
}
],
"success": true
}
- application/json
- Schema
- Example (from schema)
Schema
logs
object[]
required
success booleanrequired
{
"logs": [
{
"timestamp": "2024-07-29T15:51:28.071Z",
"log_level": "critical",
"logger": "string",
"event": "string",
"attributes": {}
}
],
"success": true
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/flows/instances/import/' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'