GET /ai/{aiid}/bot

Updated 4 months ago by Maurizio Cibelli

Get the botstore view of this bot, if it is published.

Request parameters

name

type

description

Authorization

header

Developer token.

Response Codes

code

condition

200

Succeeded.

404

No bot for AI.

500

Internal error.

Response Body

media type

data type

description

application/json

AiBot (JSON)

Example

Request

GET /ai/{aiid}/bot
Content-Type: */*
Accept: application/json
Authorization: ...

Response
{
"botId" : 12345,
"devId" : "...",
"aiid" : "...",
"name" : "...",
"description" : "...",
"longDescription" : "...",
"alertMessage" : "...",
"badge" : "...",
"price" : 12345.0,
"sample" : "...",
"category" : "...",
"lastUpdate" : 12345,
"privacyPolicy" : "...",
"classification" : "...",
"version" : "...",
"videoLink" : "...",
"publishingState" : "NOT_PUBLISHED",
"publishingType" : "TEMPLATE",
"licenseType" : "...",
"botIcon" : "..."}


How did we do?