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

KeyTypeRequired?Description
namestringyesname of the variable
requiredbooleanyeswhether you want to enforce if the variable should be present when calling the job
valuestringyes if required field above is set to trueDefault value of the variable if you dont pass the variable at the time of job run

HEADERS

KeyDatatypeRequiredDescription
api-keystring
api-secretstring
Content-TypestringTo specify that body of the request contains config in yaml format.