ozvault home

REST API · V1

An object storage API with clear boundaries

Create projects and private buckets, upload encrypted objects, issue temporary download links, and inspect real storage usage.

One versioned entry point

#

Use the HTTPS origin of your independently running storage server. The website and API have different origins. The /v1 prefix identifies this version. Authenticated SDK requests send Authorization: Bearer followed by a scoped API key.

HTTP
GET /v1/objects?bucketId=<bucket-uuid>&limit=50
Authorization: Bearer <scoped-api-key>

{"items": [], "nextCursor": null}

Reserve, transfer, commit

#

POST /v1/uploads creates a reservation. PATCH /v1/uploads/:id sends binary ciphertext with an Upload-Offset header. GET on the upload returns its committed offset. POST /v1/uploads/:id/complete requires the ciphertext SHA-256. A file becomes an object only after completion.

No public buckets by accident

#

Bucket listings and object reads always require authorization. A signed URL is a revocable, time-limited capability to download ciphertext. It does not contain a decryption key. A share page keeps an object-specific decryption key in the URL fragment.

Inspect the contract

#

The repository includes docs/openapi.json with endpoint schemas, security requirements, upload headers and response definitions. This service uses its own resumable upload protocol; it does not advertise tus or S3 wire compatibility.

Clear documentation is part of the product.