POST
curl --request POST \
  --url https://planefs-uploads.s3.amazonaws.com/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "Content-Type": "<string>",
  "key": "<string>",
  "x-amz-algorithm": "<string>",
  "x-amz-credential": "<string>",
  "x-amz-date": "<string>",
  "policy": "<string>",
  "x-amz-signature": "<string>"
}'

Self-hosted instances

Use the upload URL returned by the Get upload credentials endpoint.

Body

Content-Type
string
required
The MIME type of the file
key
string
required
The target path/filename in S3
x-amz-algorithm
string
required
AWS signature algorithm (AWS4-HMAC-SHA256)
x-amz-credential
string
required
AWS signature algorithm (AWS4-HMAC-SHA256)
x-amz-date
string
required
Request timestamp
policy
string
required
Base64-encoded policy document
x-amz-signature
string
required
Request signature
file
file
required
The file to be uploaded