Add a promotion tag to a container image

post/container/image/promote

Promote a container image by one level. The specified promotion level must exist, and be no higher than the level that this instance of SAS Event Stream Manager is configured to manage.

Request Samples

Response Samples

1Not Available

Query Parameters

projectName
string
true

The name of the project for which to promote an image.

Request Body

Identifies a container image to be promoted or demoted by one level.

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

Responses

StatusMeaningDescription
201Created

The container image was promoted by one level.

Headers
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
403Forbidden

The user did not have the necessary permissions.

Schema
404Not Found

No resource exists at the requested path.

Schema
409Conflict

The request could not be completed due to a conflict with the current state of the resource.

Schema