Skip to content

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

Closed
bpepple wants to merge 1 commit into
masterfrom
whoami
Closed

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.
@bpepple bpepple closed this Aug 15, 2026
@bpepple
bpepple deleted the whoami branch August 15, 2026 13:07
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