v1/workflows/:template_id
GET/v1/workflows/:templateId
get workflow template info
Request
Path Parameters
templateId uint64required
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
templateId uint64
name string
workflow template name
fields object
workflow template field, use to create workflow template job
fieldAttrs object[]
nodeId string
fieldName string
fieldValue
{
"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
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...