Productsup
CDE APIApi referenceBuckets

Upload file.

Sign in to run requests against the CDE API.
POST
/buckets/{bucketId}/files/{key}

Authorization

oAuth2AuthCode
AuthorizationBearer <token>

In: header

Path Parameters

bucketId*string
Formatuuid
key*string
Formatstring

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://cde.staging.productsup.com/buckets/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/string"
{
  "message": "File has been uploaded."
}
{
  "message": "You have to be authorized to access this resource."
}
{
  "message": "Access denied for user."
}
{
  "message": "Bucket not found."
}

How is this guide?