POST
/
v1
/
components
/
{component_id}
/
configs
/
job
curl --request POST \
  --url https://ctl.prod.nuon.co/v1/components/{component_id}/configs/job \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": [
    "<string>"
  ],
  "cmd": [
    "<string>"
  ],
  "env_vars": {},
  "image_url": "<string>",
  "tag": "<string>"
}'
{
  "args": [
    "<string>"
  ],
  "cmd": [
    "<string>"
  ],
  "component_config_connection_id": "<string>",
  "created_at": "<string>",
  "created_by": {
    "created_at": "<string>",
    "created_by_id": "<string>",
    "email": "<string>",
    "expires_at": "<string>",
    "id": "<string>",
    "issued_at": "<string>",
    "issuer": "<string>",
    "subject": "<string>",
    "token_type": "auth0",
    "updated_at": "<string>"
  },
  "created_by_id": "<string>",
  "env_vars": {},
  "id": "<string>",
  "image_url": "<string>",
  "tag": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
headerrequired

Type "Bearer" followed by a space and token.

Path Parameters

component_id
string
required

component ID

Body

application/json
args
string[]
cmd
string[]
env_vars
object
image_url
string
required
tag
string
required

Response

201 - application/json
args
string[]
cmd
string[]
component_config_connection_id
string

value

created_at
string
created_by
object
created_by_id
string
env_vars
object
id
string
image_url
string

Image attributes, copied from a docker_buid or external_image component.

tag
string
updated_at
string