Skip to content

Add /api/whoami/ endpoint to return the authenticated user's username - #586

Draft
bpepple wants to merge 1 commit into
masterfrom
whoami
Draft

Add /api/whoami/ endpoint to return the authenticated user's username#586
bpepple wants to merge 1 commit into
masterfrom
whoami

Conversation

@bpepple

@bpepple bpepple commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds GET /api/whoami/, returning {"username": "..."} for the authenticated user
  • Requires authentication (IsAuthenticated); unauthenticated requests get a 401
  • Documented in api/README.md under Supporting Resources, with a new Version 1.10 changelog entry

Returns the username of the currently authenticated user, requiring IsAuthenticated permission. Documented in api/README.md with a new Version 1.10 changelog entry.
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