# PeerBanHelper WebAPI ## API Docs - API > 鉴权 [登录](https://peerbanhelper.apifox.cn/api-175416707.md): - API > 鉴权 [注销登录态](https://peerbanhelper.apifox.cn/api-175417722.md): - API > 元数据 [请求基本清单数据](https://peerbanhelper.apifox.cn/api-175091276.md): 无需登录 - API > 元数据 [初始化](https://peerbanhelper.apifox.cn/api-201284369.md): - API > 基本统计 [统计计数器](https://peerbanhelper.apifox.cn/api-175091298.md): - API > 基本统计 [规则计数器](https://peerbanhelper.apifox.cn/api-175095845.md): - API > 封禁 [获取封禁列表](https://peerbanhelper.apifox.cn/api-175097788.md): - API > 封禁 [获取封禁历史记录信息](https://peerbanhelper.apifox.cn/api-175097925.md): - API > 封禁 [获取封禁排名](https://peerbanhelper.apifox.cn/api-175098068.md): 按封禁次数倒序排列,少于两次的也显示在内(08/07更改) - API > 封禁 [解除封禁](https://peerbanhelper.apifox.cn/api-184462224.md): - API > 下载器 [获取下载器列表](https://peerbanhelper.apifox.cn/api-175095942.md): - API > 下载器 [获取下载器元数据](https://peerbanhelper.apifox.cn/api-175096225.md): - API > 下载器 [获取下载器种子列表](https://peerbanhelper.apifox.cn/api-175096394.md): - API > 下载器 [获取下载器指定种子的Peers列表](https://peerbanhelper.apifox.cn/api-175097399.md): - API > 下载器 [创建下载器](https://peerbanhelper.apifox.cn/api-184459943.md): 建议在创建/保存之前,先调用下载器测试接口,测试用户填写的配置有效再调用此接口。 - API > 下载器 [编辑下载器](https://peerbanhelper.apifox.cn/api-185342513.md): 建议在创建/保存之前,先调用下载器测试接口,测试用户填写的配置有效再调用此接口。 - API > 下载器 [测试下载器配置](https://peerbanhelper.apifox.cn/api-184460496.md): 测试下载器 - API > 下载器 [删除下载器](https://peerbanhelper.apifox.cn/api-184460824.md): - API > 推送渠道 [获取推送渠道列表](https://peerbanhelper.apifox.cn/api-239587704.md): - API > 推送渠道 [获取推送渠道元数据](https://peerbanhelper.apifox.cn/api-239587705.md): - API > 推送渠道 [创建推送渠道](https://peerbanhelper.apifox.cn/api-239587708.md): 建议在创建/保存之前,先调用推送渠道测试接口,测试用户填写的配置有效再调用此接口。 - API > 推送渠道 [编辑推送渠道](https://peerbanhelper.apifox.cn/api-239587709.md): 建议在创建/保存之前,先调用推送渠道测试接口,测试用户填写的配置有效再调用此接口。 - API > 推送渠道 [测试通知渠道](https://peerbanhelper.apifox.cn/api-239587710.md): 测试通知渠道 - API > 推送渠道 [删除推送渠道](https://peerbanhelper.apifox.cn/api-239587711.md): - API > 通用 [通用状态查询](https://peerbanhelper.apifox.cn/api-224747807.md): - API > 通用 [创建堆转储文件](https://peerbanhelper.apifox.cn/api-224747838.md): 请求后堆转储并响应文件下载操作,所需时间根据堆大小和单线程压缩性能而定,建议设置一个足够长的超时。 - API > 通用 [检查指定模块是否启用](https://peerbanhelper.apifox.cn/api-226170719.md): 接收一个 module 查询参数,检查指定名称的模块是否已经启用/加载。 - API > 通用 [更改全局设置](https://peerbanhelper.apifox.cn/api-250343150.md): 接口只对传入的参数处理,如果请求体不包含某个参数,则跳过对应参数的更新。 - API > 通用 [获取全局设置](https://peerbanhelper.apifox.cn/api-250343175.md): - API > 通用 [配置文件重载](https://peerbanhelper.apifox.cn/api-200857063.md): 当有重载结果不为 SUCCESS 的项目时,则应该提醒用户。 - API > 功能模块 > AutoRangeBan [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098202.md): - API > 功能模块 > BtnNetworkOnline [获取 BTN 模块状态](https://peerbanhelper.apifox.cn/api-224239122.md): - API > 功能模块 > ClientNameBlackList [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098261.md): - API > 功能模块 > IPBlackList [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098289.md): - API > 功能模块 > IPBlackList [测试IP黑名单规则](https://peerbanhelper.apifox.cn/api-198419882.md): - API > 功能模块 > IPBlackList [添加IP黑名单规则](https://peerbanhelper.apifox.cn/api-198420346.md): 需要先使用 IP 黑名单规则测试 接口测试。 - API > 功能模块 > IPBlackList [删除IP黑名单规则](https://peerbanhelper.apifox.cn/api-198420391.md): - API > 功能模块 > IPBlackList [添加端口黑名单规则](https://peerbanhelper.apifox.cn/api-198420760.md): 备注:如果用户尝试添加 <1024 的端口规则,则应指导用户优先使用下载器的 “禁止连接到特权端口上的 Peer”(如果有),性能更好。 - API > 功能模块 > IPBlackList [删除端口黑名单规则](https://peerbanhelper.apifox.cn/api-198421005.md): - API > 功能模块 > IPBlackList [添加ASN黑名单](https://peerbanhelper.apifox.cn/api-198421065.md): - API > 功能模块 > IPBlackList [删除ASN黑名单规则](https://peerbanhelper.apifox.cn/api-198421071.md): - API > 功能模块 > IPBlackList [添加国家/地区代码黑名单规则](https://peerbanhelper.apifox.cn/api-198421108.md): - API > 功能模块 > IPBlackList [添加城市黑名单规则](https://peerbanhelper.apifox.cn/api-202094143.md): - API > 功能模块 > IPBlackList [删除国家/地区代码黑名单规则](https://peerbanhelper.apifox.cn/api-198421139.md): - API > 功能模块 > IPBlackList [删除城市黑名单规则](https://peerbanhelper.apifox.cn/api-202094564.md): - API > 功能模块 > MultiDialingBlocker [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098593.md): - API > 功能模块 > PeerIdBlacklist [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098676.md): - API > 功能模块 > ProgressCheatBlocker [获取模块内存基本元数据](https://peerbanhelper.apifox.cn/api-175098751.md): - API > 功能模块 > ProgressCheatBlocker [获取状态](https://peerbanhelper.apifox.cn/api-175099422.md): - API > 功能模块 > 订阅规则 [查询更新间隔](https://peerbanhelper.apifox.cn/api-183018879.md): - API > 功能模块 > 订阅规则 [修改更新间隔](https://peerbanhelper.apifox.cn/api-176453583.md): - API > 功能模块 > 订阅规则 [新增订阅规则](https://peerbanhelper.apifox.cn/api-176454238.md): - API > 功能模块 > 订阅规则 [查询订阅规则](https://peerbanhelper.apifox.cn/api-176454391.md): - API > 功能模块 > 订阅规则 [更新订阅规则](https://peerbanhelper.apifox.cn/api-176454276.md): - API > 功能模块 > 订阅规则 [保存订阅规则](https://peerbanhelper.apifox.cn/api-176455381.md): - API > 功能模块 > 订阅规则 [删除订阅规则](https://peerbanhelper.apifox.cn/api-176455407.md): - API > 功能模块 > 订阅规则 [启用禁用规则](https://peerbanhelper.apifox.cn/api-176455470.md): - API > 功能模块 > 订阅规则 [订阅规则列表](https://peerbanhelper.apifox.cn/api-176455523.md): - API > 功能模块 > 订阅规则 [更新全部订阅规则](https://peerbanhelper.apifox.cn/api-176455603.md): - API > 功能模块 > 订阅规则 [查询全部订阅规则更新日志](https://peerbanhelper.apifox.cn/api-176455738.md): - API > 功能模块 > 订阅规则 [查询指定订阅规则更新日志](https://peerbanhelper.apifox.cn/api-176455711.md): - API > 功能模块 > Friend [未命名接口](https://peerbanhelper.apifox.cn/api-224882657.md): - API > 功能模块 > Expression Engine [列出所有脚本](https://peerbanhelper.apifox.cn/api-224913195.md): - API > 功能模块 > Expression Engine [获取指定脚本内容](https://peerbanhelper.apifox.cn/api-224913275.md): - API > 功能模块 > Expression Engine [创建/保存脚本](https://peerbanhelper.apifox.cn/api-224913420.md): 按二进制原样写入 - API > 功能模块 > Expression Engine [删除指定脚本](https://peerbanhelper.apifox.cn/api-224913741.md): - API > 功能模块 > Expression Engine [是否可编辑给定脚本](https://peerbanhelper.apifox.cn/api-236039195.md): - API > 功能模块 > Laboratory [列出所有实验状态](https://peerbanhelper.apifox.cn/api-239579534.md): - API > 功能模块 > Laboratory [检查指定实验是否已启用](https://peerbanhelper.apifox.cn/api-239579730.md): - API > 功能模块 > Laboratory [设置指定实验的开关状态](https://peerbanhelper.apifox.cn/api-239579769.md): - API > 功能模块 > Laboratory [获取实验室模块配置状态](https://peerbanhelper.apifox.cn/api-242008190.md): - API > 功能模块 > Laboratory [设置实验室模块配置状态](https://peerbanhelper.apifox.cn/api-242008203.md): - API > 警报 [获取警报列表](https://peerbanhelper.apifox.cn/api-186037122.md): 此接口需要被轮询,因为警报可能随时被创建或删除。 - API > 警报 [标记警报为已读](https://peerbanhelper.apifox.cn/api-209290336.md): 一旦标记为已读,则此警报的 identifier 将可以被复用创建新的警报。 - API > 警报 [标记警报为全部已读](https://peerbanhelper.apifox.cn/api-226456164.md): - API > 警报 [删除指定警报](https://peerbanhelper.apifox.cn/api-186038588.md): 废弃接口,请不要使用。 - API > 程序日志 [连接到日志 WebSocket](https://peerbanhelper.apifox.cn/websocket-3570069.md): - API > 程序日志 [获取程序日志](https://peerbanhelper.apifox.cn/api-177818686.md): 与 SwingUI 相同,*按原样*返回最近 1000 行,超出部分将被丢弃。 - API > 统计图表(基础) [封禁趋势统计(迁移自/api/statistic/analysis/date)](https://peerbanhelper.apifox.cn/api-230387172.md): - API > 统计图表(基础) [统计通用数值查询](https://peerbanhelper.apifox.cn/api-193151585.md): - API > 统计图表(基础) [统计通用日期归类查询](https://peerbanhelper.apifox.cn/api-193155219.md): **警告:此查询是昂贵的查询,将进行全表全字段扫描+读取** - API > PBH Plus [创建或更新免费许可证](https://peerbanhelper.apifox.cn/api-240015407.md): - API > PBH Plus [验证捐赠密钥状态](https://peerbanhelper.apifox.cn/api-196544275.md): - API > PBH Plus [设置捐赠密钥](https://peerbanhelper.apifox.cn/api-202197470.md): - API > Torrent [获取PBH种子列表](https://peerbanhelper.apifox.cn/api-204881351.md): 注意:这不是下载器的种子列表,而是 PBH 运行过程中记录的各个种子的元数据,存储在数据库中 - API > Torrent [获取指定种子基本信息](https://peerbanhelper.apifox.cn/api-204873768.md): - API > Torrent [获取指定种子的访问历史列表](https://peerbanhelper.apifox.cn/api-204878825.md): 结果按lastSeenTime倒序排序 - API > Torrent [获取指定种子的封禁历史列表](https://peerbanhelper.apifox.cn/api-217454640.md): - API > 图表 [GeoIP](https://peerbanhelper.apifox.cn/api-198333980.md): 获取指定时间段内 Peers 的: - API > 图表 [趋势](https://peerbanhelper.apifox.cn/api-198334139.md): 获取 Peers 连接和 Peers 封禁趋势数据。 - API > 图表 [流量](https://peerbanhelper.apifox.cn/api-198334303.md): 查询流量图表数据。 - API > Peer [查询指定 IP 的基本信息](https://peerbanhelper.apifox.cn/api-204893094.md): - API > Peer [查询指定 IP 的访问历史列表](https://peerbanhelper.apifox.cn/api-204895324.md): - API > Peer [查询指定 IP 的封禁记录](https://peerbanhelper.apifox.cn/api-204896879.md): - API > 工具 [批量更换 Tracker](https://peerbanhelper.apifox.cn/api-254962044.md): - 下载器兼容层 [IP BanList 提供端点](https://peerbanhelper.apifox.cn/api-175098171.md): 普通 IP 格式封禁列表,一行一个 - 下载器兼容层 [P2P Guard Plain BanList 提供端点](https://peerbanhelper.apifox.cn/api-204417511.md): - 下载器兼容层 [DAT/Emule BanList 提供端点](https://peerbanhelper.apifox.cn/api-204417560.md):