games

End Game

End the running game, for everyone.

Two gates, and they are different questions. require_room_access asks whether you are in this room at all — Canasta's equivalent had no check, so anyone who knew a room name could end a class's game from outside. require_game_ender asks whether ending a SHARED activity is yours to do: the teacher's, or the starter's. Every other player has the header X, which closes the panel for them and leaves the game running for the room.

post/chatrooms/{room_name}/games/end

Path parameters

room_namestring required

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/chatrooms/{room_name}/games/end:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.