REST API v1
Base URL https://api.shostfiles.com/v1. Authenticate using scoped bearer tokens prefixed with shf_live_.
Core endpoints
GET
/v1/vaultsList active Frankfurt vaults, quotas, and replication status.
POST
/v1/uploadsStart a 4 MB delta chunk session with SHA-256 verification.
PUT
/v1/objects/{vault}/{key}Upload or commit verified object blocks atomically.
POST
/v1/sharesMint time-limited signed URLs with optional IP allowlists.
GET
/v1/auditStream vault access and retention lock events.
Commit a release artifact
curl -X POST https://api.shostfiles.com/v1/uploads \
-H "Authorization: Bearer shf_live_8b2c4e..." \
-H "Content-Type: application/json" \
-d '{
"vault": "ops-builds",
"region": "fra-1",
"key": "v4.18.2/core-linux-amd64.tar.zst",
"size": 438304768,
"sha256": "6d219e4a1f0b...",
"retention_days": 90
}'
{
"upload_id": "upl_94m2k8q7",
"chunk_size": 4194304,
"pending_chunks": 3,
"commit_url": "/v1/uploads/upl_94m2k8q7/commit",
"region": "fra-1"
}