Files Demo

GET

Retrieves a file by its name from the S3 bucket.

get
Path parameters
fileNamestringRequired
Responses
200

File retrieved successfully

application/json
Responsestring · binary
get
/action-demo-files/{fileName}

POST

Uploads a file to the S3 bucket.

post
Body
filestring · binaryOptional
Responses
200

File uploaded successfully

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

DELETE

Deletes a file by its name from the S3 bucket.

delete
Path parameters
fileNamestringRequired
Responses
200

File deleted successfully

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

Last updated