Bot

獲取您帳號下特定機器人的詳細資訊

獲取特定機器人的詳細資訊,並返回該機器人的基本資訊。

GET
/bots/{bot_id}
AuthorizationBearer <token>

In: header

Path Parameters

bot_idstring

The unique ID of the bot

Response Body

curl -X GET "https://www.dchubs.org/api/v1/user/bots/string"
{
  "id": "string",
  "name": "string",
  "icon": "string",
  "description": "string",
  "longDescription": "string",
  "inviteUrl": "string",
  "prefix": "string",
  "verified": true,
  "approvedAt": "2019-08-24T14:15:22Z",
  "tags": [
    "string"
  ],
  "servers": 0,
  "upvotes": 0,
  "banner": "string",
  "website": "string",
  "supportServer": "string",
  "screenshots": [
    "string"
  ],
  "features": [
    "string"
  ],
  "commands": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "usage": "string",
      "category": "string"
    }
  ],
  "developers": [
    {
      "id": "string",
      "username": "string",
      "avatar": "string",
      "social": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "detail": "string",
  "instance": "string"
}
{
  "error": "string",
  "code": "string",
  "timestamp": "string"
}
{
  "type": "string",
  "title": "string",
  "detail": "string",
  "instance": "string"
}