issues
search
trivyexpert
/
tx_api
BSD 3-Clause "New" or "Revised" License
3
stars
4
forks
source link
Create players endpoints.
#30
Open
EugeniaMusiime
opened
1 year ago
EugeniaMusiime
commented
11 months ago
Players:
POST: players/ -> Create a new player
GET: players/ -> Get a list of players
GET: players/{id} -> Get details of a specific player
PUT: players/{id} -> Update details of a specific player
PATCH: players/{id} -> Update specific fields of a specific player
DELETE: players/{id} -> Update details of a specific player
# TODOs:
Model that connects to the database table.
Serializer that serializes the Model
View that is connected to the serializer
URL that provides the data as an output to the client
Players:
# TODOs: