v1/workflows/:template_id
GEThttps://{endpoint}/v1/workflows/:templateId
get workflow template info
Request
Path Parameters
templateId uint64required
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
templateId uint64
name string
workflow template name
fields object
{
"templateId": "string",
"name": "string",
"fields": {
"fieldAttrs": [
{
"nodeId": "string",
"fieldName": "string",
"fieldValue": {}
}
]
}
}
Not Found: template not found
- application/json
- Schema
Schema
- any
Default
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -g -X GET 'https://{endpoint}/v1/workflows/:templateId' \
-H 'Accept: application/json'
ResponseClear