flows_instances_diagram_retrieve
GET/api/v3//flows/instances/:slug/diagram/
Return diagram for flow with slug slug
, in the format used by flowchart.js
Request
Path Parameters
slug stringrequired
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
diagram stringrequired
{
"diagram": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- 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 '/api/v3/flows/instances/:slug/diagram/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'