{{define "api-endpoints"}}
Description: Upload a file
cURL example:
curl -X POST -F "file=@/path/to/your/file.txt" {{.BaseURL}}/upload
Description: Download a file using the ID and filename from upload response
cURL example:
curl -O {{.BaseURL}}/uploads/{fileID}/{filename}
Description: Check storage usage and capacity
cURL example:
curl {{.BaseURL}}/storage
Description: Check service health
cURL example:
curl {{.BaseURL}}/health