Request to publish an image
Submits a gated publish intent. The image moves to PENDING_PUBLISH, the publish access record is PENDING, and community managers are notified. Requires justification. Optional allowed_orgs_request_text is free-text. Returns 409 if another publish or visibility request is already open or the image is in a publishing pipeline state.
Required scopes (any one):
air:image_write(roles:air_image_publisher,air_image_uploader)air:image_publish(roles:air_image_publisher)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
The name of the image. This must be unique with the version. This may need to be updated when publishing the image.
The version of the image. This must be unique with the name. This may need to be updated when publishing the image.
Requester intent for public (true, default) vs restricted (false) publishing. Community managers may choose a different outcome when approving a gated request.
Optional free-text description of orgs that should have access if the outcome is restricted. Not the authoritative allow list.
Response
The name of the image. This must be unique with the version.
The version of the image. This must be unique with the name.
Whether the image is published to all users (public) vs restricted to an allow-list. Always false for unpublished images.
The id of the image publish access record. Returned only to the owning organization, Air admins, and SREs; null otherwise.
The upload status of the image file.
READY- ReadyUPLOADING- UploadingVALIDATING- ValidatingCOMPLETE- CompletePUBLISHING- PublishingUNPUBLISHING- UnpublishingCOPYING_FROM_IMAGE_SHARE- Copying from image sharePENDING_PUBLISH- Pending PublishPENDING_UNPUBLISH- Pending Unpublish
If the image is owned by the client. When true, the client can share/publish/unpublish the image.
The CPU architecture of the image.
x86- x86ARM- ARM
The provider of the image.
VM- VMCONTAINER- CONTAINER