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 '{
  "app_config_id": "<string>",
  "aws_ecr_image_config": {
    "aws_region": "<string>",
    "iam_role_arn": "<string>"
  },
  "dependencies": [
    "<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

The body is of type object.

Response

201
application/json
Created

The response is of type object.