[TOC]
Example responses
200 Response
{
"count" : 0 ,
"items" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
]
}
This operation does not require authentication
Body parameter
{
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
]
}
Name
In
Type
Required
Description
body
body
Bot
false
none
Example responses
This operation does not require authentication
Body parameter
{
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
]
}
Name
In
Type
Required
Description
body
body
Bot
true
none
Example responses
200 Response
This operation does not require authentication
Name
In
Type
Required
Description
botId
path
string(uuid)
true
none
Example responses
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
Status
Meaning
Description
Schema
200
OK
Success
Bot
404
Not Found
Failure
This operation does not require authentication
Name
In
Type
Required
Description
botId
path
string(uuid)
true
none
Example responses
200 Response
This operation does not require authentication
Example responses
{
"count" : 0 ,
"items" : [
{
"type" : 0 ,
"signature" : [
{
"name" : " string" ,
"displayName" : " string" ,
"required" : true ,
"type" : 0 ,
"default" : null
}
],
"allowedModes" : [
0
]
}
]
}
This operation does not require authentication
Example responses
{
"count" : 0 ,
"items" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
]
}
This operation does not require authentication
Body parameter
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
Name
In
Type
Required
Description
body
body
UserCommand
true
none
Example responses
This operation does not require authentication
Body parameter
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
Name
In
Type
Required
Description
body
body
UserCommand
true
none
Example responses
This operation does not require authentication
GET /commands/{userCommandId}
Name
In
Type
Required
Description
userCommandId
path
string(uuid)
true
none
Example responses
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
This operation does not require authentication
DELETE /commands/{userCommandId}
Name
In
Type
Required
Description
userCommandId
path
string(uuid)
true
none
Example responses
This operation does not require authentication
GET /workers/{workerId}/start/{botId}
Name
In
Type
Required
Description
workerId
path
string(uuid)
true
none
botId
path
string(uuid)
true
none
Example responses
This operation does not require authentication
GET /workers/{workerId}/stop/{botId}
Name
In
Type
Required
Description
workerId
path
string(uuid)
true
none
botId
path
string(uuid)
true
none
Example responses
This operation does not require authentication
Example responses
{
"count" : 0 ,
"items" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"remoteUrl" : " string" ,
"bots" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"lastUpdate" : " 2019-08-24T14:15:22Z" ,
"isUp" : true
}
]
}
This operation does not require authentication
Name
In
Type
Required
Description
workerId
path
string(uuid)
true
none
Example responses
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"remoteUrl" : " string" ,
"bots" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"lastUpdate" : " 2019-08-24T14:15:22Z" ,
"isUp" : true
}
This operation does not require authentication
Body parameter
[
" 497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Name
In
Type
Required
Description
workerId
path
string(uuid)
true
none
body
body
array[string(uuid)]
true
none
Example responses
200 Response
This operation does not require authentication
DELETE /workers/{workerId}
Body parameter
[
" 497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Name
In
Type
Required
Description
workerId
path
string(uuid)
true
none
body
body
array[string(uuid)]
true
none
Example responses
This operation does not require authentication
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
Name
Type
Required
Restrictions
Description
id
string(uuid)
true
none
none
name
string
true
none
none
description
string
true
none
none
key
string
true
none
none
prefix
string
true
none
none
userCommands
[UserCommand ]
true
none
none
Property
Value
INLINE
0
SCOPED
1
HEADLESS
2
SINGLE
3
{
"type" : 0 ,
"signature" : [
{
"name" : " string" ,
"displayName" : " string" ,
"required" : true ,
"type" : 0 ,
"default" : null
}
],
"allowedModes" : [
0
]
}
Property
Value
MESSAGE
0
PING
1
STATUS
2
TIMER
3
VERSION
4
Property
Value
BOOLEAN
0
DATE
1
DOUBLE
2
INTEGER
3
STRING
4
LIST
5
{
"count" : 0 ,
"items" : [
{}
]
}
Name
Type
Required
Restrictions
Description
count
integer
true
none
none
items
[object]
true
none
none
Name
Type
Required
Restrictions
Description
msg
string
true
none
none
{
"name" : " string" ,
"displayName" : " string" ,
"required" : true ,
"type" : 0 ,
"default" : null
}
Name
Type
Required
Restrictions
Description
name
string
true
none
none
displayName
string
true
none
none
required
boolean
true
none
none
type
DataType
true
none
none
default
object
true
none
none
Name
Type
Required
Restrictions
Description
success
boolean
true
none
none
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
Name
Type
Required
Restrictions
Description
id
string(uuid)
true
none
none
name
string
true
none
none
description
string
true
none
none
type
CommandType
true
none
none
trigger
string
true
none
none
mode
CommandMode
true
none
none
parameters
object
true
none
none
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"remoteUrl" : " string" ,
"bots" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"key" : " string" ,
"prefix" : " string" ,
"userCommands" : [
{
"id" : " 497f6eca-6276-4993-bfeb-53cbbbba6f08" ,
"name" : " string" ,
"description" : " string" ,
"type" : 0 ,
"trigger" : " string" ,
"mode" : 0 ,
"parameters" : {
"property1" : null ,
"property2" : null
},
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"createdAt" : " 2019-08-24T14:15:22Z" ,
"updatedAt" : " 2019-08-24T14:15:22Z"
}
],
"lastUpdate" : " 2019-08-24T14:15:22Z" ,
"isUp" : true
}
Name
Type
Required
Restrictions
Description
id
string(uuid)
true
none
none
remoteUrl
string
true
none
none
bots
[Bot ]
true
none
none
lastUpdate
date
true
none
none
isUp
boolean
true
none
none