Create an image share
Create a new image share instance for an image in your organization that another organization can claim. The id returned will be used as the unique “claim code” which should be securely given to the target organization representative and be used as the image_share value when claiming an image share.
Requirements:
- The image must be owned by your organization
- The image must have
COMPLETEupload status - The target organization must be different from your organization
Expiration: Shares expire after a configured TTL (by default 24 hours) and are automatically cleaned up by background tasks.
Required scope: air:image_sharing (roles: air_image_sharer)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The id of the image to share. This must be unpublished image owned by your organization.
Response
The primary key of the image share. This is the “claim code” which should be given to the target organization representative and be used as the image_share value when claiming an image share.
The id of the image to share. This must be unpublished image owned by your organization.
The name of the image to share.
The version of the image to share.
A state associated with the image share. Only ACTIVE image shares may be claimed.