GET /ai/{aiid}/bot/{botId}

Updated 2 months ago by Maurizio Cibelli

Get the data for the linked bot, including configuration

Request Parameters

name

type

description

Authorization

header

Developer token.

botId

path

Response Codes

code

condition

200

Succeeded.

404

Bot not fond.

500

Internal error.

Response Body

media type

data type

description

application/json

object (JSON)

Example

Request
GET /ai/{aiid}/bot/{botId}
Content-Type: */*
Accept: application/json
Authorization: ...
Response
{
"bot" : {
"botId" : 12345,
"devId" : "...",
"aiid" : "...",
"name" : "...",
"description" : "...",
"longDescription" : "...",
"alertMessage" : "...",
"badge" : "...",
"price" : 12345.0,
"sample" : "...",
"category" : "...",
"lastUpdate" : 12345,
"privacyPolicy" : "...",
"classification" : "...",
"version" : "...",
"videoLink" : "...",
"publishingState" : "REMOVED",
"publishingType" : "SKILL",
"licenseType" : "...",
"botIcon" : "..."
},
"config" : {
"version" : 12345,
"apiKeys" : {
"property1" : "...",
"property2" : "..."
},
"empty" : true,
"valid" : true
},
"status" : {
"code" : 12345,
"success" : { },
"info" : "...",
"created" : { }
}}


How did we do?