Uno-Online / uno-backend

https://documenter.getpostman.com/view/13271893/2s93RMVvtQ#bd451122-df4d-4b68-bc83-1516cfefa920
14 stars 7 forks source link

Criar rota para atualizar nome da sala #15

Closed heliokroger closed 1 year ago

heliokroger commented 1 year ago

Ao fazer um PUT para /rooms/:id eu desejo:

Exemplo de request:

{
  "name": "Minha sala"
}

Exemplo de response:

{
  "id": 1,
  "name": "Minha sala",
  "flow": "CLOCKWISE",
  "state": "WAITING_FOR_PLAYERS",
  "createdAt": "2023-03-19 01:25:08.212",
  "updatedAt": "2023-03-19 01:25:08.212"
}