Upload a photo chunk
PATCH /cms/photo/{file_id}
Uploads a chunk for a photo and assembles the file when complete. Max recommended chunk size is 10MB. When the upload is complete, the response will contain the details of the uploaded photo in JSON format. If the upload is still in progress, the response will contain the current filename being uploaded.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”File ID returned from the create endpoint
Header Parameters
Section titled “Header Parameters ”Byte offset for the chunk being uploaded
Total byte length of the file being uploaded
Original filename of the uploaded file
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Chunk accepted or upload complete
Chunk accepted, upload in progress
object
API representation of an attachment (images, video, files)
object
Attachment ID
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels
Height in pixels
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
API representation of a video
object
Video ID
Title
URL
Duration in seconds
Episode number
Status
Show ID
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Invalid upload headers