Media
Last updated
Was this helpful?
Last updated
Was this helpful?
A media object represents a single 360 capture.
Media are created by uploading a zip archive of image frames, these are processed by the DAM which adds additional generated media assets (mp4, gif and resized frames).
List available Media within the requested Shoot
/api/tenant/{tenantId}/shoot/{shootId}/media
Unique shoot id
683606ee-9788-4d88-adb8-77119de4c6a2
Unique tenant id
f700d27e-64ed-4571-ae2e-8c948c1c296e
Request an alternative image format for thumbnail images (currently webp and jpeg are supported)
webp
Get an individual media by id
/api/tenant/{tenantId}/shoot/{shootId}/media/{mediaId}
Unique shoot id
683606ee-9788-4d88-adb8-77119de4c6a2
Unique tenant id
f700d27e-64ed-4571-ae2e-8c948c1c296e
Unique media id
daea0774-275b-4e43-9d10-c2f9d5d4d5b6
Include signed 360 images and videos in response
false
Request an alternative image format for 360 frames and thumbnails (currently webp and jpeg are supported)
webp
Request an alternative image width for 360 frames and single images (min: 20, max: 3600)
150,800,3200
Upload new media to the specified shoot
Requires Admin role on the requested tenant
Using the response from this request, subsequently upload the media payload (zip, jpg or png) to S3.
Perform a POST request to the url
property in this response, including
all the fields
key-values and the file data as a property named file
as a multipart-formdata
request.
AWS S3 Docs - Uploading objects using presigned URLs
The DAM processor will subsequently validate and perform processing on a successfully uploaded file.
Expected input file formats:
360_V2 (default): is a zip file containing JPG image frames in the root of the zip (no folders). The frames must be named with the format img01.jpg, img02.jpg, etc. Frame numbers must be sequential (no gaps).
Any non-zero number of frames is permitted, but for optimal use the number of frames should be divisible by 4.
The maximum upload file size for a zip is 800mb.
SINGLE_IMAGE: is a single JPG or PNG image file. The maximum upload file size for a JPG or PNG is 20mb.
VIDEO: is a single MP4 video file. The maximum upload file size for a MP4 is 850mb.
/api/tenant/{tenantId}/shoot/{shootId}/media
Unique shoot id
683606ee-9788-4d88-adb8-77119de4c6a2
Unique tenant id
f700d27e-64ed-4571-ae2e-8c948c1c296e
Filename of the media being uploaded - Allowed extensions are based on the meta.type value
^[a-zA-Z0-9_\\s\\.,-\\[\\]()]+\\.(zip|jpg|png|mp4|ZIP|JPG|PNG|MP4)$
Tag key-pairs to associate with the created media
Delete media by id
Requires Admin role on the requested tenant
/api/tenant/{tenantId}/shoot/{shootId}/media/{mediaId}
Unique shoot id
683606ee-9788-4d88-adb8-77119de4c6a2
Unique tenant id
f700d27e-64ed-4571-ae2e-8c948c1c296e
Unique media id
daea0774-275b-4e43-9d10-c2f9d5d4d5b6