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

列出我的用户应用程序

开发中
GET
/api/userapp

请求参数

无

示例代码

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/userapp'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
message
null 
必需
data
array[object (UserApplication) {5}] 
必需
id
integer 
记录ID
必需
appId
string 
AppId
必需
comment
string 
备注
必需
createdAt
integer 
创建时间
必需
user
object (User) 
所属用户
必需
示例
{"success":true,"message":null,"data":[{"id":1,"appId":"7355608","comment":"测试","createdAt":1723916762000,"user":{"id":1,"avatar":"https://avatars.githubusercontent.com/u/30802565?v=4","nickname":"Ghost_chu","registerAt":1723916701954,"lastSeenAt":1723974023732}}]}
修改于 2024-08-18 09:48:00
上一页
复杂查询快照记录
下一页
获取指定用户应用程序信息
Built with