Create pre-signed S3 upload link

post

Creates a signed link to securely upload data to s3 bucket directly from the client.

Authorizations
Path parameters
portalIdintegerrequired

Portal ID

Body
fileNamestringrequired

file name

fileSizeintegerrequired

file size in bytes

fileHashstringrequired

hash to identify file changes

Responses
curl -L \
  --request POST \
  --url 'https://studio.edgeimpulse.com/v1/api/portals/{portalId}/upload-link' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "fileName": "text",
    "fileSize": 1,
    "fileHash": "text"
  }'
{
  "success": true,
  "error": "text",
  "url": "text",
  "ETag": "text"
}

Last updated

Was this helpful?