the-fat-gnomes / pc-management

D&D Playable Character Management Microservice
MIT License
0 stars 0 forks source link

CRUD Implementation for PCs #3

Open lithiil opened 5 years ago

lithiil commented 5 years ago

Add CRUD endpoints for the PC magager.

aifrim commented 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: