Add status stubs
This commit is contained in:
@@ -39,6 +39,55 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Status",
|
||||
"parameters": {},
|
||||
"entrypoint": "status",
|
||||
"path": "/status",
|
||||
"authentication": [],
|
||||
"apis": [
|
||||
{
|
||||
"name": "list",
|
||||
"path": "/",
|
||||
"method": "GET",
|
||||
"title": "See all current statuses"
|
||||
},
|
||||
{
|
||||
"name": "set",
|
||||
"path": "/",
|
||||
"method": "POST",
|
||||
"title": "Set user's status",
|
||||
"parameters": {
|
||||
"post": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "icon",
|
||||
"required": false,
|
||||
"title": "Status icon"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "message",
|
||||
"required": false,
|
||||
"title": "Status message"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "expires",
|
||||
"required": false,
|
||||
"title": "Clear status when it expires (eg: when-active, afternoon, tomorrow 1h, 30m, 1 PM, 2019-05-20)"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "delete",
|
||||
"path": "/",
|
||||
"method": "DELETE",
|
||||
"title": "Clear status"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"Title": "Status",
|
||||
"Interface": "Status",
|
||||
"Struct": null,
|
||||
"Parameters": {},
|
||||
"Protocol": "",
|
||||
"Authentication": [],
|
||||
"Path": "/status",
|
||||
"APIs": [
|
||||
{
|
||||
"Name": "list",
|
||||
"Method": "GET",
|
||||
"Title": "See all current statuses",
|
||||
"Path": "/",
|
||||
"Parameters": null
|
||||
},
|
||||
{
|
||||
"Name": "set",
|
||||
"Method": "POST",
|
||||
"Title": "Set user's status",
|
||||
"Path": "/",
|
||||
"Parameters": {
|
||||
"post": [
|
||||
{
|
||||
"name": "icon",
|
||||
"required": false,
|
||||
"title": "Status icon",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"required": false,
|
||||
"title": "Status message",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "expires",
|
||||
"required": false,
|
||||
"title": "Clear status when it expires (eg: when-active, afternoon, tomorrow 1h, 30m, 1 PM, 2019-05-20)",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "delete",
|
||||
"Method": "DELETE",
|
||||
"Title": "Clear status",
|
||||
"Path": "/",
|
||||
"Parameters": null
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user