Upload a file to Genviral CDN for use in posts
url can then be used when creating posts via the /posts endpoint.
uploadUrl and the final url (CDN URL)uploadUrl using a PUT requesturl in your post creation requestsimage/jpeg, image/png, image/gif, image/webp, image/heic, image/heifvideo/mp4, video/quicktime, video/x-msvideo, video/webm, video/x-m4v201 with:
uploadUrl - Presigned URL to upload your file (expires in 10 minutes)url - CDN URL where your file will be accessible after uploadcontentType - The content type you specifiedexpiresIn - Seconds until the upload URL expires (600)400 invalid_json - Request body is not valid JSON422 invalid_payload - Invalid content type or missing required fields500 create_failed - Failed to initialize upload (retry)