- API
- BanHistory 封禁历史
- ClientDiscovery 客户端发现
- Snapshot 快照记录
- UserApplication 用户应用程序
- User 用户
- Github OAuth2 登录GET
- BTN兼容客户端协议通讯
查询最近新客户端发现记录
开发中
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": 4426014693617597400,
"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": 9201763804250530000,
"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": 1924153443651185400,
"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": 7995241842093683000,
"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": -6864482821831247000,
"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": 259876593963295260,
"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": -7586219835262457000,
"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": 1726289678122465000,
"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": -4652905658087988000,
"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": 6490110098099322000,
"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