Complete a multipart upload
Finalize a multipart upload by providing ETags from each uploaded part.
Process:
- Collect the
ETagheader from each part upload response - Call this endpoint with the list of parts and their ETags
- S3 combines parts and validates ETags
- Image transitions to VALIDATING status
- Async validation verifies file size and hash match declared values
- Image transitions to COMPLETE status after validation
Validation: S3 validates ETags; async task validates size and hash. This endpoint returns once the image enters VALIDATING; clients should poll the image until upload_status becomes COMPLETE.
Required scope: air:image_write (roles: air_image_publisher, air_image_uploader)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
List of parts with part_number and etag from S3 upload responses.
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