Upload file 📥
Use this endpoint to upload a file to secured Deck container. The container must exist in order to upload the file. Note that this endpoint does not provide any read access to prior file versions.
POST
/upload/{container_uuid}
curl \
--request POST 'https://api.ppe-analytics.com/api/v1/upload/{container_uuid}' \
--header "PPEApiKey: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--form "file=@file"
Response examples (200)
{
"status": "OK",
"message": "File correctly uploaded to container 'a73ba5b9-498a-4b96-a766-5588d16ada3e' as version 4"
}
Response examples (404)
{
"status": "ERROR",
"message": "Unknown container id 'plop'"
}