Documentation

Overview

Storage API is a read-oriented HTTP API. All responses are JSON encoded in UTF-8.

Quick start

Every resource is reachable under https://media.skunkeu.win/api/v2. No SDK is required.

Authentication

Requests carry a project key in the Authorization header. Keys are scoped per environment and may be rotated without downtime.

Errors

Errors return a JSON object with an error.code and error.message. The HTTP status carries the same meaning as the code.

Rate limits

Limits are applied per key. Exceeding a limit returns 429 with a Retry-After header.

Endpoints

MethodEndpointDescription
GET/api/v2Version index and resource map.
GET/api/v2/bucketsBuckets owned by the account.
GET/api/v2/regionsRegions in which buckets may be created.
GET/api/v2/usageStored bytes and request counts for the period.
GET/api/v2/statusMachine-readable service status.