Move event and type docs into their own files.
This commit is contained in:
parent
ce7e35cd53
commit
2ca4eef0a6
19 changed files with 213 additions and 261 deletions
14
server/docs/events/GetPastQuestions.md
Normal file
14
server/docs/events/GetPastQuestions.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# `GetPastQuestions`:
|
||||
|
||||
## Description:
|
||||
This event is sent from the client to the server when it has the PastQuestions component visible.
|
||||
|
||||
## Request Payload:
|
||||
| Property | Type | Description
|
||||
| -------- | ---- | -----------
|
||||
| team | Integer | The team we are requesting the questions for. This can be one of `1`, or `2`, any other value will cause an error to be returned.
|
||||
|
||||
## Response Payload: (`PastQuestions`)
|
||||
| Property | Type | Description
|
||||
| -------- | ---- | -----------
|
||||
| questions | String[] | All the previously chosen questions for the team.
|
||||
Loading…
Add table
Add a link
Reference in a new issue