Bot

獲取您在平台上發布的所有機器人

獲取您在平台上發布的所有機器人,並返回機器人的基本資訊。

GET
/bots
AuthorizationBearer <token>

In: header

Response Body

curl -X GET "https://www.dchubs.org/api/v1/user/bots"
[
  {
    "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"
}