Storage
post/v1/control/applications/{application_id}/storage/uploads

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/control/applications/{application_id}/storage/uploads
  • Auth: one of:
    • HTTP bearer
    • API key in cookie p93_control_access

Headers

Idempotency-Keystring required

Request body

filenamestring required
content_typestring required
size_bytesinteger required
visibility'public' | 'private' required
purpose'email_image'
metadataobject

Response

Presigned application asset upload

upload_urlstring uri required
upload_expires_atstring date-time required
required_headersobject required

Changes

    • info

      the endpoint scheme security controlBearer was added to the API

    • info

      the endpoint scheme security controlCookie was added to the API

    • info

      the endpoint scheme security operatorBearer was removed from the API

    • info

      the endpoint scheme security operatorCookie was removed from the API

    • info

      added the media type application/json for the response with the status

    • info

      endpoint added