Media

Step 1 of an upload: get a presigned PUT URL.

The client sends the bytes straight to object storage, so a large video never travels through the API — and never has to be base64-encoded into a request.

post/v1/media/uploads

Request

  • Base URL: https://api.ravenpo.st
  • URL: https://api.ravenpo.st/v1/media/uploads
  • Auth: HTTP bearer

Request body

filenamestring required

Original filename, used for a readable storage key.

contentTypestring required

MIME type of the bytes you are about to PUT.

Response

Success

Changes

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