feat: Implement device-specific video uploads and generate comprehensive OpenAPI documentation.
This commit is contained in:
@@ -81,6 +81,16 @@ All authenticated endpoints expect a Better Auth session cookie sent by the clie
|
||||
| `GET /videos` | List objects in the configured bucket |
|
||||
| `DELETE /videos` | Delete an object by `objectKey` |
|
||||
|
||||
`POST /videos/upload-url` request body requires `fileName` and `deviceId` (UUID belonging to the authenticated user), with optional `prefix`.
|
||||
|
||||
### API Docs
|
||||
OpenAPI docs are generated from Zod/OpenAPI definitions:
|
||||
|
||||
| Endpoint | Purpose |
|
||||
| --- | --- |
|
||||
| `GET /openapi.json` | OpenAPI 3 spec (JSON) |
|
||||
| `GET /docs` | Swagger UI |
|
||||
|
||||
### Admin Dashboard
|
||||
Access `/admin` with Basic auth to:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user