Create GET /api/users/me/coins endpoint #31

Closed
opened 2025-11-20 22:13:19 +00:00 by KZix · 1 comment
Owner

Acceptance Criteria:

  • Return current coin balance
  • Users can only access own balance
  • Return 404 if user not found
  • Return 401 if unauthorized
**Acceptance Criteria:** - [x] Return current coin balance - [x] Users can only access own balance - [x] Return 404 if user not found - [x] Return 401 if unauthorized
KZix added the coinsfeatureapi labels 2025-11-20 22:13:19 +00:00
KZix added this to the Bisca - API project 2025-11-20 22:13:19 +00:00
Edd changed title from Create GET /api/users/{id}/coins endpoint to Create GET /api/users/me/coins endpoint 2025-12-26 15:08:35 +00:00
Owner

I've changed the endpoint to have the /me instead of receiving an ID, just because I don't see this being called outside of the users themselves

I've changed the endpoint to have the /me instead of receiving an ID, just because I don't see this being called outside of the users themselves
KZix added reference feature/api-stats 2025-12-29 16:04:22 +00:00
KZix self-assigned this 2025-12-29 16:04:27 +00:00
KZix moved this to To Do in Bisca - API on 2025-12-29 16:04:56 +00:00
KZix moved this to In Progress in Bisca - API on 2025-12-29 16:04:58 +00:00
KZix moved this to Done in Bisca - API on 2025-12-30 11:41:40 +00:00
KZix closed this issue 2025-12-30 11:42:46 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyntaxSquad/DADProject#31