创建下载器
PUT
/api/downloaders
当 DraftDownloader 中的 name 和请求 Param {downloadName} 不同时,PBH 会按照重命名处理,删除 downloadName 并添加 name
{
"type": "qbittorrent",
"endpoint": "http://localhost:58081",
"username": "admin",
"password": "adminadmin",
"basicAuth": {
"user": "",
"pass": ""
},
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"verifySsl": true,
"ignorePrivate": false
}
{
"type": "qbittorrentee",
"endpoint": "http://localhost:58081",
"username": "admin",
"password": "adminadmin",
"basicAuth": {
"user": "",
"pass": ""
},
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"useShadowBan": false,
"verifySsl": true,
"ignorePrivate": false
}
{
"type": "transmission",
"endpoint": "http://localhost:58081",
"username": "username",
"password": "password",
"httpVersion": "HTTP_1_1",
"verifySsl": true,
"rpcUrl": "/transmission/rpc",
"ignorePrivate": false
}
{
"type": "biglybt",
"endpoint": "http://localhost:58081",
"token": "token",
"httpVersion": "HTTP_1_1",
"verifySsl": true,
"ignorePrivate": false
}
{
"type": "deluge",
"endpoint": "http://localhost:8112",
"password": "deluge",
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"verifySsl": true,
"rpcUrl": "/json",
"ignorePrivate": false
}
{
"type": "bitcomet",
"endpoint": "http://localhost:58081",
"username": "admin",
"password": "adminadmin",
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"verifySsl": true,
"ignorePrivate": false
}
请求参数
Body 参数application/json
示例代码
返回响应
修改于 2025-06-05 06:13:00