Sparkle
  1. ClientDiscovery 客户端发现
Sparkle
  • API
    • BanHistory 封禁历史
      • 查询最近封禁记录
      • 复杂查询封禁记录
    • ClientDiscovery 客户端发现
      • 查询最近新客户端发现记录
        GET
      • 复杂查询客户端发现记录
        POST
    • Snapshot 快照记录
      • 查询最近快照
      • 复杂查询快照记录
    • UserApplication 用户应用程序
      • 列出我的用户应用程序
      • 获取指定用户应用程序信息
      • 重置指定用户应用程序的 AppSecret
      • 编辑指定用户应用程序
      • 创建新的用户应用程序
      • 删除指定用户应用程序
    • User 用户
      • 用户个人基本信息
      • 读取指定用户个人基本信息
      • 登出会话
    • Github OAuth2 登录
      GET
  • BTN兼容客户端协议通讯
    • 能力
      • 提交 Peers
      • 提交 Bans
      • 请求云端规则
    • 请求 BTN 配置文件
      GET
  1. ClientDiscovery 客户端发现

查询最近新客户端发现记录

开发中
GET
/api/clientdiscovery

请求参数

Query 参数
page
string 
可选
示例值:
0
pageSize
string 
可选
示例值:
10

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://btn-prod.ghostchu-services.top/api/clientdiscovery?page=0&pageSize=10'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
message
null 
必需
data
object 
必需
page
integer 
必需
size
integer 
必需
total
integer 
必需
results
array[object (ClientDiscovery) {7}] 
必需
示例
{"success":true,"message":null,"data":{"page":0,"size":10,"total":178,"results":[{"hash":4426014693617597602,"clientName":"PicoTorrent/0.25.0","peerId":"-PI0250-","foundAt":1723917640160,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":9201763804250530118,"clientName":"FDM/6.19.1.5263","peerId":"FD6!0Dqm","foundAt":1723917640160,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":1924153443651185380,"clientName":"BitComet 0.2.0.3","peerId":"-BC0203-","foundAt":1723917640160,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":7995241842093682355,"clientName":"BitComet 1.65","peerId":"-BC0165-","foundAt":1723917630139,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":-6864482821831246914,"clientName":"BitWombat 1.4.0.15","peerId":"-BW140F-","foundAt":1723917620138,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917630139,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":259876593963295251,"clientName":"FD6bf7.EaoYfbwYu-fpH","peerId":"FD6bf7.E","foundAt":1723917610121,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":-7586219835262457321,"clientName":"uTorrent 3.5.4.28","peerId":"-UT354S-","foundAt":1723917610121,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917620138,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":1726289678122464971,"clientName":"PI 0.2.5","peerId":"-PI0250-","foundAt":1723917600075,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917630139,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":-4652905658087988364,"clientName":"Mainline 7.4.3","peerId":"M7-4-3--","foundAt":1723917600075,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917600075,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}},{"hash":6490110098099321683,"clientName":"qBittorrent/4.2.5","peerId":"-qB4250-","foundAt":1723917600075,"foundBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524},"lastSeenAt":1723917640160,"lastSeenBy":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723970980524}}]}}
修改于 2024-08-18 09:26:16
上一页
复杂查询封禁记录
下一页
复杂查询客户端发现记录
Built with