API server running

file-hub

REST API only. UI lives on the WebUI.

Open the WebUI →
http://localhost:5173
Swagger UIOpenAPI specHealth
Base API: https://api.filehub.foreachsoftware.it/api/v1

Esempi curl

Lista file
curl -H "Authorization: Bearer fhk_xxx" \
     https://api.filehub.foreachsoftware.it/api/v1/files
Upload file
curl -X POST https://api.filehub.foreachsoftware.it/api/v1/upload \
     -H "Authorization: Bearer fhk_xxx" \
     -F "bucketSlug=st-media" \
     -F "visibility=PUBLIC" \
     -F "file=@/path/to/file.png"
Genera URL firmato
curl -X POST https://api.filehub.foreachsoftware.it/api/v1/signed-url \
     -H "Authorization: Bearer fhk_xxx" \
     -H "Content-Type: application/json" \
     -d '{"fileId":"cmpl...","expiryMinutes":60}'