laptop-codeFiles Demo

GET

Retrieves a file by its name from the S3 bucket.

get
Path parameters
fileNamestringRequired
Responses
chevron-right
200

File retrieved successfully

application/json
string · binaryOptional
get
/action-demo-files/{fileName}

POST

Uploads a file to the S3 bucket.

post
Body
filestring · binaryOptional
Responses
chevron-right
200

File uploaded successfully

application/json
stringOptionalExample: formatted_file_name.jpg
post
/action-demo-files

DELETE

Deletes a file by its name from the S3 bucket.

delete
Path parameters
fileNamestringRequired
Responses
chevron-right
200

File deleted successfully

application/json
anyOptionalExample: {"message":"File deleted successfully","description":"The file has been deleted successfully."}
delete
/action-demo-files/{fileName}

Last updated