Move list of commands from WS initial payload to /commands REST endpoint

This commit is contained in:
Denis Arh
2019-04-26 06:16:34 +02:00
parent ad65c643ad
commit 43a5693ee5
9 changed files with 216 additions and 19 deletions
+24
View File
@@ -251,6 +251,30 @@ A channel is a representation of a sequence of messages. It has meta data like c
# Commands
| Method | Endpoint | Purpose |
| ------ | -------- | ------- |
| `GET` | `/commands/` | List of available commands |
## List of available commands
#### Method
| URI | Protocol | Method | Authentication |
| --- | -------- | ------ | -------------- |
| `/commands/` | HTTP/S | GET | |
#### Request parameters
| Parameter | Type | Method | Description | Default | Required? |
| --------- | ---- | ------ | ----------- | ------- | --------- |
---
# Messages
Messages represent individual messages in the chat system. Messages are typed, indicating the event which triggered the message.