Get job Copy
GET {{base_url}}/org/:org_id/runner/job/14
Job variables
Jobs does not have to be hardcoded. Jobs can accept variables.
Definition of variable can be set in body.options
. Each variable has to be json with the folllowing structure
Key | Type | Required? | Description |
---|---|---|---|
name | string | yes | name of the variable |
required | boolean | yes | whether you want to enforce if the variable should be present when calling the job |
value | string | yes if required field above is set to true | Default value of the variable if you dont pass the variable at the time of job run |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api-key | string | ||
api-secret | string | ||
Content-Type | string | To specify that body of the request contains config in yaml format. |