跳转到主要内容
GET
/
api
/
v1
/
platform
/
bots
/
{bot_uuid}
获取指定的机器人
curl --request GET \
  --url http://localhost:5300/api/v1/platform/bots/{bot_uuid} \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "bot": {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "adapter": "telegram",
      "config": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  }
}

授权

X-API-Key
string
header
必填

使用 X-API-Key 请求头进行 API 密钥认证。 示例:X-API-Key: lbk_your_api_key_here

路径参数

bot_uuid
string<uuid>
必填

机器人 UUID

响应

成功响应

code
integer
示例:

0

msg
string
示例:

"ok"

data
object