Retrieve a Workflow Job Template Node
post
/api/v2/workflow_job_template_nodes/{id}/create_approval_template/
Make GET request to this resource to retrieve a single workflow job template node record containing the following fields:
timeout
: The amount of time (in seconds) before the approval node expires and fails. (integer)name
: Name of this workflow approval template. (string)description
: Optional description of this workflow approval template. (string)
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : schema
Example:
{
"description":"An approval",
"name":"URL Test",
"timeout":"0"
}
Response
Supported Media Types
- application/json
201 Response
Example Response (application/json)
{
"created":"2018-02-01T08:00:00.000000Z",
"description":"An approval",
"execution_environment":null,
"id":"3",
"last_job_failed":false,
"last_job_run":null,
"modified":"2018-02-01T08:00:00.000000Z",
"name":"URL Test",
"next_job_run":null,
"related":{
"jobs":"/api/v2/workflow_approval_templates/3/approvals/"
},
"status":"never updated",
"summary_fields":{
"workflow_job_template":{
"description":"",
"id":"2",
"name":""
}
},
"timeout":"0",
"type":"workflow_approval_template",
"url":"/api/v2/workflow_approval_templates/3/"
}
400 Response
Example Response (application/json)
{
"name":[
"This field may not be blank."
]
}
403 Response
Example Response (application/json)
{
"detail":"You do not have permission to perform this action."
}