Media
Get upload URL
Changed onGet a presigned URL to upload files directly to cloud storage (up to 5GB). Returns an uploadUrl and publicUrl. PUT your file to the uploadUrl, then use the publicUrl in your posts.
post/v1/media/presign
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/media/presign
- Auth: HTTP bearer
Request body
Example request
{
"filename": "my-video.mp4",
"contentType": "video/mp4",
"size": 15234567
}Response
Presigned URL generated successfully
Changes
- info
added the new
application/x-subripenum value to the request property - info
added the new
text/vttenum value to the request property
- info
- warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status
- warning