获取 BTN 模块状态
开发中GET
/api/modules/btn请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean
必需
message
null
必需
data
object
必需
abilities
array [object {6}]
能力列表
configUrl
string
BTN 配置文件获取 URL
configSuccess
boolean
配置文件是否成功获取且有效
appId
string
AppID
appSecret
string
AppSecret (已脱敏)
示例
成功示例
{
"success": true,
"message": null,
"data": {
"abilities": [
{
"displayName": "BTN Ability - Reconfigure",
"name": "BtnAbilityReconfigure",
"lastMessage": "Ready",
"description": "The “reconfigure” ability allows the BTN server to notify the PeerBanHelper to contact the BTN server after a certain period of time to refresh the configuration file in use in order to obtain configuration changes from the remote server.",
"lastUpdateAt": 1729671285714,
"lastSuccess": true
},
{
"displayName": "BTN Ability - Submit Bans",
"name": "BtnAbilitySubmitBans",
"lastMessage": "No any data reported to remote",
"description": "The “Submit Bans” ability allows the BTN server to periodically receive PeerBanHelper's block list and a snapshot of the data at the time of the block.This data helps the BTN server analyze malicious behavior on the network and dynamically generate anti-siphoning rules to block such malicious behavior.",
"lastUpdateAt": 1729671285715,
"lastSuccess": true
},
{
"displayName": "BTN Ability - Submit Snapshots",
"name": "BtnAbilitySubmitPeers",
"lastMessage": "No any data reported to remote",
"description": "The “Submit Snapshot” ability allows the BTN server to periodically receive snapshots of the instantaneous state of the downloader tracked by PeerBanHelper. This data helps the BTN server analyze malicious behavior on the network and dynamically generate anti-siphoning rules to block such behavior.The data also helps the BTN analyze the current activity on the network to get an overview of the malicious activity on the network at different moments.",
"lastUpdateAt": 1729671285715,
"lastSuccess": true
},
{
"displayName": "BTN Ability - Submit Histories",
"name": "BtnAbilitySubmitHistory",
"lastMessage": "No any data reported to remote",
"description": "The “Submit Histories” ability allows the BTN server to periodically receive a snapshot of the Peers activity on the downloader tracked by PeerBanHelper and the last recorded activity data.This data helps the BTN server analyze malicious behavior on the network and dynamically generate anti-siphoning rules to block such malicious behavior. At the same time, this data also helps analyze whether there are in-the-wild exploits that take advantage of the PeerBanHelper's anti-siphoning feature to bypass the anti-siphoning mechanism.",
"lastUpdateAt": 1729671285715,
"lastSuccess": true
},
{
"displayName": "BTN Ability - Cloud Rules",
"name": "BtnAbilityRules",
"lastMessage": "Loaded from disk cache",
"description": "The “Cloud Rules” ability allows BTN servers to periodically provide PeerBanHelper with anti-vamping rules generated by remote servers as a supplement to local anti-vamping rules.",
"lastUpdateAt": 1729671286077,
"lastSuccess": true
}
],
"configUrl": "https://btn-prod.ghostchu-services.top/ping/config",
"configSuccess": true,
"appId": "02789d36-37cd-4fd3-bdb0-23470dc432f6",
"appSecret": "192f8*******"
}
}
最后修改时间: 1 个月前