Retrieve a Workflow Approval Template
get
/api/v2/workflow_approval_templates/{id}/
Make GET request to this resource to retrieve a single workflow approval template record containing the following fields:
id
: Database ID for this workflow approval template. (integer)type
: Data type for this workflow approval template. (choice)url
: URL for this workflow approval template. (string)related
: Data structure with URLs of related resources. (object)summary_fields
: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created
: Timestamp when this workflow approval template was created. (datetime)modified
: Timestamp when this workflow approval template was last modified. (datetime)name
: Name of this workflow approval template. (string)description
: Optional description of this workflow approval template. (string)last_job_run
: (datetime)last_job_failed
: (boolean)next_job_run
: (datetime)status
: (choice)new
: Newpending
: Pendingwaiting
: Waitingrunning
: Runningsuccessful
: Successfulfailed
: Failederror
: Errorcanceled
: Cancelednever updated
: Never Updatedok
: OKmissing
: Missingnone
: No External Sourceupdating
: Updating
execution_environment
: The container image to be used for execution. (id)timeout
: The amount of time (in seconds) before the approval node expires and fails. (integer)
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Root Schema : WorkflowApprovalTemplate
Type:
Show Source
object
-
created:
string
Title:
Created
Read Only:true
-
description:
string
Title:
Description
-
execution_environment:
integer
Title:
Execution environment
The container image to be used for execution. -
id:
integer
Title:
ID
Read Only:true
-
last_job_failed:
boolean
Title:
Last job failed
Read Only:true
-
last_job_run:
string(date-time)
Title:
Last job run
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
next_job_run:
string(date-time)
Title:
Next job run
Read Only:true
- related: string
-
status:
string
Title:
Status
Read Only:true
Allowed Values:[ "new", "pending", "waiting", "running", "successful", "failed", "error", "canceled", "never updated", "ok", "missing", "none", "updating" ]
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
timeout:
integer
Title:
Timeout
The amount of time (in seconds) before the approval node expires and fails. -
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true