Skip to main content

Upload files to S3


ApiScope: manage.s3.upload.file
API Scope Level: ServiceSubscriberScope
Request Body required
    file byte
    contentType string
    fileName string
    folderPrefix string
    bucketName string
    makeFilePubliclyAvailable boolean
    cloudfrontDomain string
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    fileObjectUrl string
    cloudfrontUrl string
PUT /v2/aws/s3/objects

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
Body required
{
"file": "string",
"contentType": "string",
"fileName": "string",
"folderPrefix": "string",
"bucketName": "string",
"makeFilePubliclyAvailable": true,
"cloudfrontDomain": "string"
}
curl / cURL
curl -L -X PUT '/manage/v2/aws/s3/objects' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"file": "string",
"contentType": "string",
"fileName": "string",
"folderPrefix": "string",
"bucketName": "string",
"makeFilePubliclyAvailable": true,
"cloudfrontDomain": "string"
}'