Get
/api/v1/commands.get
Get specification of the slash command.
Changelog
Version | Description |
---|---|
0.60.2 | Added |
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Query parameters
command
stringRequired
The name of the command.
Exampleme
Responses
200
OK
Success
{
"command": {
"command": "me",
"params": "your_message",
"description": "Displays_action_text",
"clientOnly": false
},
"success": true
}
object
command
object
command
string
params
string
description
string
clientOnly
boolean
success
boolean
401
Unauthorized
Authorization Error
{
"status": "error",
"message": "You must be logged in to do this."
}
object
status
string
message
string