Uploads a file to the server.
Request:
POST /upload
Content-Type: multipart/form-data
Body:
- file: (file) The file to upload
Response:
Status: 200 OK
URL to the uploaded file
Deletes a file from the server.
Request:
DELETE /delete/:filename
Response:
Status: 200 OK
Checks the status of a file.
Request:
GET /v1/uploads/:filename
Response:
Status: 200 OK
{
"filename": "example.jpg",
"expired": "yes" | "no"
}