v1
latestOpenAPI 3.1.02026-07-2419782400.4 KBStep 2 Initialise upload
Initialise upload
Initialise an upload.
post/api/upload/init
Headers
Content-Type'application/x-www-form-urlencoded' required
Response
Successful response
Example response
{
"s3file": {
"uploadid": "UPLOAD_ID",
"targetid": "final/00000000-0000-0000-0000-000000000000/image.jpeg"
},
"s3_filename": "pluploads/api/00000000-0000-0000-0000-000000000000/image.jpeg",
"target_key": "pluploads/api/00000000-0000-0000-0000-000000000000/image.jpeg",
"multipart_params": {
"acl": "private",
"success_action_status": "201",
"Content-Type": "image/*",
"key": "pluploads/api/00000000-0000-0000-0000-000000000000/image.jpeg",
"Policy": "AWS_S3_POLICY",
"X-Amz-Signature": "AWS_S3_SIGNATURE",
"x-amz-credential": "AWS_S3_AUTH",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-date": "20160216T100755Z"
}
}