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
+15
View File
@@ -24,6 +24,21 @@
}
]
},
{
"title": "Commands",
"parameters": {},
"entrypoint": "commands",
"path": "/commands",
"authentication": [],
"apis": [
{
"name": "list",
"path": "/",
"method": "GET",
"title": "List of available commands"
}
]
},
{
"title": "Channels",
"description": "A channel is a representation of a sequence of messages. It has meta data like channel subject. Channels may be public, private or group.",
+18
View File
@@ -0,0 +1,18 @@
{
"Title": "Commands",
"Interface": "Commands",
"Struct": null,
"Parameters": {},
"Protocol": "",
"Authentication": [],
"Path": "/commands",
"APIs": [
{
"Name": "list",
"Method": "GET",
"Title": "List of available commands",
"Path": "/",
"Parameters": null
}
]
}