LensGlare API
API is running. Available endpoints:
GET /api/health- Health checkPOST /api/auth/register- RegisterPOST /api/auth/login- LoginPOST /api/auth/magic-link- Send magic linkPOST /api/auth/verify- Verify magic linkPOST /api/auth/refresh- Refresh tokensGET /api/auth/me- Get current userGET /api/challenges- List challengesGET /api/challenges/:id- Get challengePOST /api/challenges/:id/enter- Enter challengeGET /api/challenges/:id/leaderboard- LeaderboardGET /api/votes/pair- Get voting pairPOST /api/votes- Submit voteGET /api/users/me- Get profilePATCH /api/users/me- Update profileGET /api/users/me/transactions- Transaction historyPOST /api/photos/upload-url- Get upload URL