Get S3 Upload Parameters
Changed onGet S3 upload parameters via query string. This endpoint provides the necessary information to complete the file upload process using GET parameters.
Example CURL command:
curl -X GET "https://lilt.com/v2/upload/s3/params?key=API_KEY&filename=example.json&type=application/json&metadata.size=1024&metadata.labels=important,review-needed"
Request
- Base URLhttps://api.lilt.com
- URLhttps://api.lilt.com/v2/upload/s3/params
- AuthHTTP basic
Query parameters
A file name including file extension.
The content-type or mime-type of the file to upload.
The size of the file to upload in bytes.
File category metadata.
File UUID metadata.
Comma-separated list of label names to be added to the file after upload completes.
Response
Upload initialization information.
Example response
{
"url": "https://storage.googleapis.com/bucket/uploads/user123/file456.json?...",
"key": "uploads/user123/file456.json",
"method": "PUT"
}Changes
- breaking
added the new required
queryrequest parameterfilename - breaking
added the new required
queryrequest parametertype - info
api operation id
getS3UploadParamswas added - info
added the new optional
queryrequest parametermetadata.category - info
added the new optional
queryrequest parametermetadata.labels - info
added the new optional
queryrequest parametermetadata.size - info
added the new optional
queryrequest parametermetadata.uuid - info
added the success response with the status
- breaking