ozvault home

OZVAULT CONNECT · REFERENCE

OzVault Connect API reference

Every OzVault Connect endpoint: authorization, token, revocation, introspection, userinfo, JWKS, discovery, profile, quota and application file storage.

Reviewed Published by OzVault

Base URLs

#

Authorization server (issuer): https://ozvault.lol. Resource API: https://api.ozvault.lol/v1. Discovery documents advertise every endpoint, including ozvault_api_base_url.

OpenID Connect discovery
GET https://ozvault.lol/.well-known/openid-configuration
OAuth 2.0 metadata (RFC 8414)
GET https://ozvault.lol/.well-known/oauth-authorization-server

Authorization server endpoints

#

Token, revocation and introspection accept application/x-www-form-urlencoded bodies and client authentication by client_secret_basic, client_secret_post or none (public clients). Responses are never cached.

OAuth and OpenID Connect endpoints
EndpointPurpose
GET /oauth/authorizeUser authorization with consent (code flow, PKCE S256)
POST /oauth/tokenauthorization_code and refresh_token grants
POST /oauth/revokeRevoke an access or refresh token (RFC 7009)
POST /oauth/introspectToken status for your own tokens (RFC 7662)
GET|POST /oauth/userinfoOpenID Connect claims (scope openid)
GET /oauth/jwksES256 public keys for id_token validation

Resource endpoints

#

Send Authorization: Bearer <access token>. Every endpoint enforces its scope on the server and touches only the authorizing user's account and your application's storage area.

API endpoints for OAuth applications
EndpointScopeReturns
GET /v1/account/profileprofile:readsub, name; email, email_verified with email:read
GET /v1/storage/quotastorage:quota:readquota, used, reserved, available, application usage
GET /v1/app/filesstorage:app:readPaginated files (prefix, limit, cursor)
GET /v1/app/files/{id}storage:app:readFile metadata
GET /v1/app/files/{id}/contentstorage:app:readFile bytes (attachment)
POST /v1/app/files?name=…storage:app:writeSingle-request upload up to 4 MiB
POST /v1/app/uploadsstorage:app:writeResumable upload reservation
PATCH|GET|DELETE {uploadUrl}upload tokenSend a chunk, read the offset, cancel
POST {uploadUrl}/completeupload tokenPublish the file after SHA-256 verification
DELETE /v1/app/files/{id}storage:app:deleteMove a file to the user's trash

Limits

#

Authorization codes: 2 minutes, single use. Access tokens: 1 hour. Refresh tokens: 30 days from issue, rotated on every use. Up to 10 redirect URLs and 5 active client secrets per application; up to 25 applications per developer account. Single-request uploads: 4 MiB. Object size: published maxFileBytes (256 MB by default). Five open uploads per user. 300 API requests per minute per connection.

Clear documentation is part of the product.