Update the status of a container image
patch/container/image/status
Updates the status for all promotion levels of a container image.
projectName | string | true | The name of the project for which to update the status of a container image. >= 1 characters |
Describes a container image and the status to set for it.
| Name | Type | Required | Description |
|---|---|---|---|
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 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The status of the container image has been updated. | ||
| 400 | Bad Request | The request was invalid. Additional information is available in the application logs if the environment variable | Schema | |
| 404 | Not Found | No resource exists at the requested path. | Schema | |
| 412 | Precondition Failed | The | Schema | |
| 503 | Service Unavailable | Functionality for project containers is not enabled. | Schema |