- track.scrobble: batches of up to 50 (array params or a single track),
Last.fm ignore rules (empty artist/track, too old, too new), duplicate
submissions accepted but stored once
- track.updateNowPlaying: upserted per user, expiring after the track's
duration; cleared when the same track is scrobbled
- Scrobble result, ignore reason, batch size, lag and now-playing metrics
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- flask-smorest API under /api/v1 with a uniform JSON error shape;
spec at /api/openapi.json, Swagger UI at /api/docs, ReDoc at /api/redoc
- Register/login/logout/me with hashed, expiring bearer tokens,
documented as an OpenAPI bearer security scheme
- API application and client-session management endpoints
- CORS restricted to the configured UI origin(s)
- Flask no longer serves static files: it is API-only
- Login and registration metrics
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>