← Back home

Documentation

SA Storage is a Cloudflare R2 file manager with a password-protected dashboard and a token API. Every file and token belongs to a service.

External API & tokens

Bearer tokens, permissions, services, key prefixes, file CRUD, statistics, and examples.

Open guide

Endpoint map

  • GET /api/me — current token or session
  • GET|POST /api/files — list and upload
  • GET|PUT|DELETE /api/files/[key] — metadata, replace, delete
  • GET /api/stats — usage percentages
  • GET /api/services — own service (token) or all (session)
  • GET /files/[key] — public file read

Repository guides

Longer copies live in docs/: SETUP.md, API.md, EXTERNAL-API.md, ARCHITECTURE.md.