latestOpenAPI 3.0.02026-08-105118115.0 KB

4838a5113869

Media upload

Generate a URL to which a new media can be uploaded

This URL can be used in a PUT request to upload a local file. The request must include the Content-Type and Content-Length headers matching the uploaded file.

Example: curl -T media.mp4 -H 'Content-Type: video/mp4' "${URL}"

post/media/uploads

Request body

user_idinteger

ID of the user to upload the media on behalf of

Response

The media upload URL has been generated.