Channels

Create stream preview upload URL

Creates a reusable PUT upload URL for updating the current thumbnail image for the stream.

post/streams/{stream_key}/preview/upload-url

Path parameters

stream_keystring required

The stream key

Request body

channel_idstring snowflake required
content_typestring

MIME type of the thumbnail image

Response

Success

upload_urlstring required

URL used to upload the stream preview with a PUT request

method'PUT' required

HTTP method to use for the upload URL

content_typestring required

MIME type that must be sent with the upload request

expires_atstring date-time required

ISO timestamp when the upload URL expires

expires_ininteger required

Number of seconds the upload URL remains valid

max_bytesinteger required

Maximum supported preview image size in bytes

Changes

No recorded changes to this endpoint across all 1 revision of this API.