Add GET support for the account API endpoint #71

Merged
luca0N merged 2 commits from dev_server_account_info into dev 2026-05-11 23:35:48 +00:00
Owner

Add support for the GET HTTP request method in the /account' API endpoint. This handler will return basic information about the account associated with the session, as specified in the Authorization' HTTP
header, and can be used by clients to retrieve information about the
account that is logged in.

Add support for the GET HTTP request method in the `/account' API endpoint. This handler will return basic information about the account associated with the session, as specified in the `Authorization' HTTP header, and can be used by clients to retrieve information about the account that is logged in.
Add support for the GET HTTP request method in the `/account' API
endpoint.  This handler will return basic information about the account
associated with the session, as specified in the `Authorization' HTTP
header, and can be used by clients to retrieve information about the
account that is logged in.
Add more fields to the GET response in the `/account' API endpoint, and
perform some minor code refactoring by documenting some struct fields in
`LanbassadorUser', and move user account attributes to a new function in
`db.go'.
luca0N changed title from WIP: Add GET support for the account API endpoint to Add GET support for the account API endpoint 2026-05-11 23:34:15 +00:00
luca0N force-pushed dev_server_account_info from 51d63a2fa6 to 950e8803fb 2026-05-11 23:34:55 +00:00 Compare
Author
Owner

Latest force-push removed an in-dev struct that is not yet being used/is out of the scope of this pull request.

Latest force-push removed an in-dev struct that is not yet being used/is out of the scope of this pull request.
luca0N deleted branch dev_server_account_info 2026-05-11 23:35:48 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
luca0N/lanbassador!71
No description provided.