Skip to content

Add public user API endpoints#365

Open
jwstover wants to merge 1 commit into
zzorba:masterfrom
jwstover:feat/user-api-endpoint
Open

Add public user API endpoints#365
jwstover wants to merge 1 commit into
zzorba:masterfrom
jwstover:feat/user-api-endpoint

Conversation

@jwstover

Copy link
Copy Markdown

Decklist API responses include user_id, but there was no way for API consumers to resolve it to a username. Adds GET /api/public/user/{id} and a batch GET /api/public/users/{id,id,...} (max 100), returning a minimal public identity: id, username, reputation, and color. Email and all other account data are never exposed.

Decklist API responses include user_id, but there was no way for API
consumers to resolve it to a username. Adds GET /api/public/user/{id}
and a batch GET /api/public/users/{id,id,...} (max 100), returning a
minimal public identity: id, username, reputation, and color. Email
and all other account data are never exposed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant