POST
/
v1
/
components
/
{component_id}
/
configs
/
external-image
curl --request POST \
  --url https://api.nuon.co/v1/components/{component_id}/configs/external-image \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aws_ecr_image_config": {
    "aws_region": "<string>",
    "iam_role_arn": "<string>"
  },
  "image_url": "<string>",
  "tag": "<string>"
}'
{
  "aws_ecr_image_config": {
    "aws_region": "<string>",
    "component_config_id": "<string>",
    "component_config_type": "<string>",
    "created_at": "<string>",
    "created_by_id": "<string>",
    "iam_role_arn": "<string>",
    "id": "<string>",
    "updated_at": "<string>"
  },
  "component_config_connection_id": "<string>",
  "created_at": "<string>",
  "created_by_id": "<string>",
  "id": "<string>",
  "image_url": "<string>",
  "tag": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and token.

Path Parameters

component_id
string
required

component ID

Body

application/json
Input
image_url
string
required
tag
string
required
aws_ecr_image_config
object

Response

201
application/json
Created
aws_ecr_image_config
object
component_config_connection_id
string

value

created_at
string
created_by_id
string
id
string
image_url
string
tag
string
updated_at
string