0
0
Fork 0

Update doc for SendCard

This commit is contained in:
Oliver-Akins 2020-12-27 15:12:05 -07:00
parent 5f39ae63ff
commit a939194d01

View file

@ -6,6 +6,7 @@ Sends a card to the server, the server either then either forwards the card to t
## Request Payload: ## Request Payload:
| Property | Type | Description | Property | Type | Description
| -------- | ---- | ----------- | -------- | ---- | -----------
| game_code | String | The game code for the player.
| text | String | The text of the card that is being sent. | text | String | The text of the card that is being sent.
| from | String | The source of where the card is being sent from. This can be one of `"writer"`, `"guesser"`, any other value will return an error. | from | String | The source of where the card is being sent from. This can be one of `"writer"`, `"guesser"`, any other value will return an error.
| team | Integer | The team that is sending the card. This can be either `1` or `2`, any other value will return an error. | team | Integer | The team that is sending the card. This can be either `1` or `2`, any other value will return an error.