Media

POST /v1/media/create-upload-url

Changed on

Request

  • Base URL
    https://api.post-bridge.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

mime_type'image/png' | 'image/jpeg' | 'video/mp4' | 'video/quicktime' | 'application/pdf' required

The MIME type of the media file

size_bytesnumber required

The size of the media file in bytes

namestring required

The original name of the file (for extension)

Example request

{
  "mime_type": "image/png",
  "size_bytes": 1234567,
  "name": "myphoto.png"
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status