Open lithiil opened 5 years ago
Endpoints should be version/api/object/
.
So for us they should be: v1/api/character/
So we will have this:
GET v1/api/3.5e/character for all characters
GET v1/api/3.5e/character/characterId for a specific character
POST v1/api/3.5e/character to create a character
PUT v1/api/3.5e/character/characterId to update a character
DELETE v1/api/3.5e/character/characterId to delete a character
In the future we will be able to do:
PUT v1/api/3.5e/character/characterId/cast/spellId
For now only focus on some base stats:
Add CRUD endpoints for the PC magager.