Authorization: Bearer ********************
{
"name": "RocksBot",
"description": "rock's QQ bot",
"adapter": "aiocqhttp",
"adapter_config": {
"host": "0.0.0.0",
"port": 2280,
"access-token": ""
}
}
curl --location --request POST '/api/v1/platform/bots' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "RocksBot",
"description": "rock'\''s QQ bot",
"adapter": "aiocqhttp",
"adapter_config": {
"host": "0.0.0.0",
"port": 2280,
"access-token": ""
}
}'
{"code":0,"data":{"uuid":"60541b73-9593-445b-b512-04f270397523"},"msg":"ok"}