upload file to s3 in common bucket, i.e., not under a dealer's bucket
upload file to s3 in common bucket, i.e., not under a dealer's bucket
Query Parameters
fileType string
Possible values: [IMAGE
, PDF
, XSLT
, AUDIO
, VIDEO
, HTML
, XML
, OTHER
]
Default value: OTHER
Choose a value of fileType from the provided values
contentType string
Valid contentType of file, e.g. image/png or audio/mpeg etc. If not provided then we'll try to get it from the provided multipart file's properties.
application/json
Request Body
file binary required
Multipart file to be uploaded
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
uploadUrl string
errors object[]
errorCode string
errorDescription string
errorUID string
warnings object[]
warningCode string
warningDescription string
{
"uploadUrl": "string",
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
}
],
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Loading...