Skip to content

Backend Routes

Dillon Rice edited this page May 12, 2020 · 2 revisions

Backend routes

get (Index) /api/games/ for testing and search

get (SHOW game) /api/games/:id returns game, boards, pieces

get (Index) /api/user/:userId/games

post game post /api/games

post board post /api/board

post pieces post /api/pieces

delete board delete /api/board/:id

delete token delete /api/board/:boardId/token/:tokenId

edit board patch /api/board/:boardId

Clone this wiki locally