files

Create upload URLs

Changed on

Generates presigned PUT URLs for uploading files and creates pending records in DB

post/api/v1/files/upload

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/files/upload
  • Auth: none declared

Request body

contentTypestring required
fileKeystring required
sizesModelsImageSize[] required

Response

Created

expiresAtstring
fileKeystring
imageIdstring

Changes