- API
- 鉴权
- 元数据
- 基本统计
- 封禁
- 下载器
- 推送渠道
- 通用
- 功能模块
- AutoRangeBan
- BtnNetworkOnline
- ClientNameBlackList
- IPBlackList
- MultiDialingBlocker
- PeerIdBlacklist
- ProgressCheatBlocker
- 订阅规则
- Friend
- Expression Engine
- Laboratory
- PTRBlacklist
- 警报
- 程序日志
- 统计图表(基础)
- PBH Plus
- Torrent
- 图表
- Peer
- 工具
- 下载器兼容层
获取模块内存基本元数据
开发中
GET
/api/modules/peer-id-blacklist
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9898/api/modules/peer-id-blacklist'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
message
null
必需
data
object
必需
peerId
array[string]
必需
示例
{
"success": true,
"message": null,
"data": {
"peerId": [
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-xl\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-hp\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-xm\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-dt\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-gt0002\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-gt0003\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-sd\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-xf\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-qd\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-bn\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-dl\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-ts\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-fg\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-tt\"}}",
"{\"matcherName\":\"匹配开头\",\"matcherIdentifier\":\"peerbanhelper:stringstartswithmatcher\",\"metadata\":{\"rule\":\"-nx\"}}",
"{\"matcherName\":\"子串匹配\",\"matcherIdentifier\":\"peerbanhelper:stringcontainsmatcher\",\"metadata\":{\"rule\":\"cacao\"}}"
]
}
}
🟠429IP地址因频繁失败尝试而被封禁
🟠403未登录或Token错误
🔴500内部服务器错误
修改于 2024-10-22 18:43:33