Direct uploads
Request a signed target, PUT the file body, then confirm the object. The control plane is never in the data path.
Object storage API
Space stores blobs in versioned buckets and hands out short-lived signed URLs. Uploads go directly to the storage tier, so your application never proxies file bytes.
Request a signed target, PUT the file body, then confirm the object. The control plane is never in the data path.
Every overwrite keeps the previous object. Restore or purge a version by id without copying the whole bucket.
Transfer is metered per bucket and reported daily, so a shared bucket does not hide behind the account total.
curl https://space.jdcity.cc/v1/buckets/assets/uploads \
-H "authorization: Bearer $TOKEN" \
-H "content-type: application/json" \
-d '{"key":"logo.svg","content_type":"image/svg+xml"}'
The response contains a URL valid for ten minutes and the object id to use when confirming the upload.
bucket/object@version.