- Add API token model with SHA-256 hashed tokens
- Add migration 006_add_api_tokens.sql
- Add Bearer token auth middleware
- Add API endpoints under /api/v1/:
- GET /whoami
- POST /tokens (create new API token)
- GET /apps (list all apps)
- POST /apps (create app)
- GET /apps/{id} (get app)
- DELETE /apps/{id} (delete app)
- POST /apps/{id}/deploy (trigger deployment)
- GET /apps/{id}/deployments (list deployments)
- Add comprehensive tests for all API endpoints
- All tests pass, zero lint issues
|
||
|---|---|---|
| .. | ||
| 001_initial.sql | ||
| 002_remove_container_id.sql | ||
| 003_add_ports.sql | ||
| 004_add_commit_url.sql | ||
| 005_add_webhook_secret_hash.sql | ||
| 006_add_api_tokens.sql | ||