diff --git a/docs/api/Server.md b/docs/api/Server.md index 3b1b1d70a..4603ab22a 100644 --- a/docs/api/Server.md +++ b/docs/api/Server.md @@ -67,14 +67,12 @@ Returns `gameID`, which is the ID of the newly created game instance. ### Joining a game -#### `/game_instances/:id/join` +#### `/games/:name/:id/join` -Allows a player to join the given game instance `id`. +Allows a player to join a particular game instance `id` of a game named `name`. Accepts three parameters, all required: -`gameName`: the name of the game being joined - `playerID`: the ordinal player in the game that is being joined (0, 1...) `playerName`: the display name of the player joining the game.