Bulk Job Launch
get
/api/v2/bulk/job_launch/
This endpoint allows the client to launch multiple UnifiedJobTemplates at a time, along side any launch time parameters that they would normally set at launch time.
Request
Supported Media Types
- application/json
Query Parameters
-
page: integer
A page number within the paginated result set.
-
page_size: integer
Number of results to return per page.
-
search: string
A search term.
Response
Supported Media Types
- application/json
200 Response
Nested Schema : BulkJobLaunch
Type:
Show Source
object
-
description:
string
Title:
Description
Minimum Length:1
-
extra_vars:
object Extra vars
Title:
Extra vars
-
inventory:
integer
Title:
Inventory
-
job_tags:
string
Title:
Job tags
Minimum Length:1
-
jobs(required):
array jobs
List of jobs to be launched, JSON. e.g. [{"unified_job_template": 7}, {"unified_job_template": 10}]
-
limit:
string
Title:
Limit
Minimum Length:1
-
name:
string
Title:
Name
Maximum Length:512
Default Value:Bulk Job Launch
-
organization:
integer
Title:
Organization
Inherit permissions from this organization. If not provided, a organization the user is a member of will be selected automatically. -
scm_branch:
string
Title:
Scm branch
Minimum Length:1
-
skip_tags:
string
Title:
Skip tags
Minimum Length:1
Nested Schema : Extra vars
Type:
object
Title:
Extra vars
Nested Schema : jobs
Type:
array
List of jobs to be launched, JSON. e.g. [{"unified_job_template": 7}, {"unified_job_template": 10}]
Show Source
-
Array of:
object BulkJobNode
List of jobs to be launched, JSON. e.g. [{"unified_job_template": 7}, {"unified_job_template": 10}]
Nested Schema : BulkJobNode
Type:
object
List of jobs to be launched, JSON. e.g. [{"unified_job_template": 7}, {"unified_job_template": 10}]
Show Source
-
all_parents_must_converge:
boolean
Title:
All parents must converge
If enabled then the node will only run if all of the parent nodes have met the criteria to reach this node -
always_nodes:
array always_nodes
Read Only:
true
Unique Items Required:true
-
created:
string
Title:
Created
Read Only:true
-
credentials:
array credentials
-
diff_mode:
boolean
Title:
Diff mode
-
do_not_run:
boolean
Title:
Do not run
Indicates that a job will not be created when True. Workflow runtime semantics will mark this True if the node is in a path that will decidedly not be ran. A value of False means the node may not run. -
execution_environment:
integer
Title:
Execution environment
Minimum Value:1
-
extra_data:
object Extra data
Title:
Extra data
-
failure_nodes:
array failure_nodes
Read Only:
true
Unique Items Required:true
-
forks:
integer
Title:
Forks
Minimum Value:0
-
id:
integer
Title:
ID
Read Only:true
-
identifier:
string
Title:
Identifier
Maximum Length:512
An identifier coresponding to the workflow job template node that this node was created from. -
instance_groups:
array instance_groups
-
inventory:
integer
Title:
Inventory
Minimum Value:1
-
job:
integer
Title:
Job
-
job_slice_count:
integer
Title:
Job slice count
Minimum Value:0
-
job_tags:
string
Title:
Job tags
-
job_type:
string
Title:
Job type
Allowed Values:[ "run", "check" ]
-
labels:
array labels
-
limit:
string
Title:
Limit
-
modified:
string
Title:
Modified
Read Only:true
- related: string
-
scm_branch:
string
Title:
Scm branch
-
skip_tags:
string
Title:
Skip tags
-
success_nodes:
array success_nodes
Read Only:
true
Unique Items Required:true
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
timeout:
integer
Title:
Timeout
-
type:
string
Title:
Type
Read Only:true
-
unified_job_template(required):
integer
Title:
Unified job template
Minimum Value:1
Primary key of the template for this job, can be a job template or inventory source. -
url:
string
Title:
Url
Read Only:true
-
verbosity:
string
Title:
Verbosity
Allowed Values:[ "0", "1", "2", "3", "4", "5" ]
-
workflow_job:
string
Title:
Workflow job
Nested Schema : Extra data
Type:
object
Title:
Extra data