Publish an image to the public published catalog of images
Immediately publishes the image (auto-approved publish access record, then S3 publish). Default prefer_public is true (globally visible). When prefer_public is false, send authoritative allowed_orgs as a UUID array for the restricted allow-list (distinct from gated request-publish string hints). Optional justification is stored for audit when provided.
Required scopes (any one):
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 text explaining who/why to share with.
Authoritative allow-list: orgs that may use the image when prefer_public is false. The image owning org is always included; [] is valid. Privileged PATCH …/publish only — not the gated request-publish string hint.
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