Closed myssto closed 1 month ago
Depends on #378
Admin notes need API routes for CRUD actions. They should be routed like:
POST /{entity}/{id}/notes GET /{entity}/{id}/notes PATCH /{entity}/{id}/notes/{noteId} DELETE /{entity}/{id}/notes/{noteId}
POST
/{entity}/{id}/notes
GET
PATCH
/{entity}/{id}/notes/{noteId}
DELETE
Admin notes should be included on the entity's existing DTO for admin users only.
Implement the four endpoints (and AdminNote repository / service layers) for these entities:
AdminNote
Base classes
[x] AdminNoteRepositoryBase #431
AdminNoteRepositoryBase
[x] AdminNoteService #431
AdminNoteService
Tournament #433
Match #456
Game #457
GameScore #458
Player #459
Removed OAuthClient from the scope of this issue as it is not particularly relevant right now.
OAuthClient
Closed once #456, #457, #458, and #459 are merged.
Depends on #378
Admin notes need API routes for CRUD actions. They should be routed like:
POST
/{entity}/{id}/notes
GET
/{entity}/{id}/notes
PATCH
/{entity}/{id}/notes/{noteId}
DELETE
/{entity}/{id}/notes/{noteId}
Admin notes should be included on the entity's existing DTO for admin users only.
Tasks
Implement the four endpoints (and
AdminNote
repository / service layers) for these entities:Base classes
[x]
AdminNoteRepositoryBase
#431[x]
AdminNoteService
#431Tournament #433
POST
GET
PATCH
DELETE
Match #456
POST
GET
PATCH
DELETE
Game #457
POST
GET
PATCH
DELETE
GameScore #458
POST
GET
PATCH
DELETE
Player #459
POST
GET
PATCH
DELETE