Bot Service Controller

Bot Config

Path: /api/bots/botconfig

Method: POST

Example Http Request

POST /api/bots/botconfig HTTP/1.1
Content-Type: application/json
Content-Length: 106
Host: localhost:8080

{"numberOfBots":0,"timeout":0,"channelId":"builds.vegascity.live","deploymentRef":"builds.vegascity.live"}

Example Http Response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 185

{"message":"{\"numberOfBots\":0,\"timeout\":0,\"channelId\":\"builds.vegascity.live\",\"sceneId\":null,\"deploymentRef\":\"builds.vegascity.live\"}: (#Avatars: N/A, #MovementFiles: 0)"}

Example Curl Request

$ curl 'http://localhost:8080/api/bots/botconfig' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"numberOfBots":0,"timeout":0,"channelId":"builds.vegascity.live","deploymentRef":"builds.vegascity.live"}'

Bot Service Controller