Update the status of a container image

patch/container/image/status

Updates the status for all promotion levels of a container image.

Request Samples

Response Samples

1Not Available

Query Parameters

projectName
string
true

The name of the project for which to update the status of a container image.

>= 1 characters

Request Body

Describes a container image and the status to set for it.

NameTypeRequiredDescription
projectVersion
integer<int32>
true
>= 1
dockerRegistryUrl
string
true
dockerRepositoryName
string
true
imageTag
string
true
Match pattern:
^[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$
notes
string or null
false
status
string
true
Allowed values:
VALIDATION_REQUIREDVALID_IMAGEINVALID_IMAGE

Responses

StatusMeaningDescription
200OK

The status of the container image has been updated.

400Bad Request

The request was invalid. Additional information is available in the application logs if the environment variable LOGGING_LEVEL_ORG_SPRINGFRAMEWORK is set to DEBUG.

Schema
404Not Found

No resource exists at the requested path.

Schema
412Precondition Failed

The If-Unmodified-Since request header did not match the resource's last modified timestamp.

Schema
503Service Unavailable

Functionality for project containers is not enabled.

Schema