Skip to main content

Base URL

http://localhost:8080
In production, set HOSTNAME to your public URL (e.g., https://stashy.example.com).

Authentication

All /api/v1/* endpoints require a Bearer token:
Authorization: Bearer <your-api-key>
Generate API keys from the web dashboard after signing in with Google OAuth.

Endpoints

MethodPathAuthDescription
POST/api/v1/filesBearerUpload a file
GET/api/v1/files/{id}BearerDownload a file
GET/{id}NoneDirect public file access

OpenAPI Spec

The full OpenAPI 3.1 spec is available at /openapi.yaml on your running instance.