- API
- 鉴权
- 元数据
- 基本统计
- 封禁
- 下载器
- 推送渠道
- 通用
- 功能模块
- AutoRangeBan
- BtnNetworkOnline
- ClientNameBlackList
- IPBlackList
- MultiDialingBlocker
- PeerIdBlacklist
- ProgressCheatBlocker
- 订阅规则
- Friend
- Expression Engine
- Laboratory
- PTRBlacklist
- 警报
- 程序日志
- 统计图表(基础)
- PBH Plus
- Torrent
- 图表
- Peer
- 工具
- 下载器兼容层
列出所有脚本
开发中
GET
/api/expression-engine/scripts
请求参数
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/expression-engine/scripts'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
message
null
必需
data
object
必需
page
integer
必需
size
integer
必需
total
integer
必需
results
array [object {6}]
必需
示例
{
"success": true,
"message": null,
"data": {
"page": 1,
"size": 10,
"total": 4,
"results": [
{
"id": "dot-1-ipv6-tr296.av",
"name": "IPV6 ::1 Transmission 2.94 恶意多拨",
"author": "PBH-BTN Community",
"cacheable": true,
"threadSafe": true,
"version": "1.1"
},
{
"id": "gopeed-random-peerid.av",
"name": "Gopeed 全随机检查",
"author": "PBH-BTN Community",
"cacheable": true,
"threadSafe": true,
"version": "1.1"
},
{
"id": "2e0-61ff-fe.av",
"name": "IPV6 2e0:61ff:fe 随机后缀刷流 Peer 特征识别",
"author": "PBH-BTN Community",
"cacheable": true,
"threadSafe": true,
"version": "1.0"
},
{
"id": "name-id-verify.av",
"name": "PeerID/ClientName 伪装检查",
"author": "PBH-BTN Community",
"cacheable": true,
"threadSafe": true,
"version": "1.0"
}
]
}
}
🟠403未登录或Token错误
🟠429IP地址因频繁失败尝试而被封禁
🔴500内部服务器错误
🟠400通用参数错误
🔵303需要OOBE初始化
修改于 2024-10-20 15:41:10