Files Demo
GET
Path parameters
fileNamestringRequired
Responses
200
File retrieved successfully
application/json
string · binaryOptional
404
File not found
application/json
500
Internal server error
application/json
get/action-demo-files/{fileName}
GET /action-demo-files/{fileName} HTTP/1.1
Accept: */*
binaryPOST
Body
filestring · binaryOptional
Responses
200
File uploaded successfully
application/json
stringOptionalExample:
formatted_file_name.jpg400
Invalid file
application/json
post/action-demo-files
POST /action-demo-files HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"file": "binary"
}formatted_file_name.jpgDELETE
Path parameters
fileNamestringRequired
Responses
200
File deleted successfully
application/json
anyOptionalExample:
{"message":"File deleted successfully","description":"The file has been deleted successfully."}404
File not found
application/json
500
Internal server error
application/json
delete/action-demo-files/{fileName}
DELETE /action-demo-files/{fileName} HTTP/1.1
Accept: */*
{
"message": "File deleted successfully",
"description": "The file has been deleted successfully."
}Last updated