GET
/{orgId}/{itemId}/diagramsGet all the diagrams. Only the latest version is returned when a diagram has more than one version. Inactive diagram is returned when it is the only existing version of the diagram. The active and draft properties in the returned results indicate if the active or draft versions of the diagram exists.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | success | inline |
| 404 | Not Found | error | WorkflowExceptionDTO |
Response details
Status Code 200
DiagramDescriptions
| Name | Type | Required | Description |
|---|---|---|---|
diagrams | [WorkflowDiagramDescription] |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/diagrams \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"diagrams": [
{
"diagramId": "string",
"diagramName": "string",
"description": "string",
"active": true,
"draft": true
}
]
}