fork
This commit is contained in:
48
_conf_schema.json
Normal file
48
_conf_schema.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"access_token": {
|
||||
"description": "Bangumi API访问令牌(部分接口需授权)",
|
||||
"type": "string",
|
||||
"hint": "在https://next.bgm.tv/demo/access-token生成,格式为Bearer令牌",
|
||||
"default": ""
|
||||
},
|
||||
"user_agent": {
|
||||
"description": "请求头User-Agent标识",
|
||||
"type": "string",
|
||||
"hint": "如果为空,则使用插件默认值",
|
||||
"default": ""
|
||||
},
|
||||
"max_fuzzy_results": {
|
||||
"description": "模糊搜索返回的最大结果数量",
|
||||
"type": "int",
|
||||
"hint": "取值范围1-200,数值越大返回结果越多",
|
||||
"default": 5,
|
||||
"min": 1,
|
||||
"max": 200
|
||||
},
|
||||
"proxy_http": {
|
||||
"description": "代理地址",
|
||||
"type": "string",
|
||||
"hint": "IP, 例: 192.168.0.x",
|
||||
"default": ""
|
||||
},
|
||||
"port": {
|
||||
"description": "端口",
|
||||
"type": "string",
|
||||
"hint": "代理端口, 例: 7890",
|
||||
"default": ""
|
||||
},
|
||||
"max_retries": {
|
||||
"description": "最大重试次数",
|
||||
"type": "int",
|
||||
"hint": "网络错误时最大的重试次数",
|
||||
"default": 3,
|
||||
"min": 1,
|
||||
"max": 10
|
||||
},
|
||||
"render_server_url": {
|
||||
"description": "RPC 渲染服务器地址",
|
||||
"type": "string",
|
||||
"hint": "用于远程渲染图片的 RPC 服务器地址",
|
||||
"default": "https://api.unitedpooh.top/rpc"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user