- API
- BanHistory 封禁历史
- ClientDiscovery 客户端发现
- Snapshot 快照记录
- UserApplication 用户应用程序
- User 用户
- Github OAuth2 登录GET
- BTN兼容客户端协议通讯
编辑指定用户应用程序
开发中
PATCH
/api/userapp/{appId}
请求参数
Path 参数
appId
string
必需
Body 参数application/json
comment
string
备注
示例
{
"comment": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://btn-prod.ghostchu-services.top/api/userapp/' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
success
boolean
必需
message
null
必需
data
object
必需
id
integer
必需
appId
string
必需
comment
string
必需
createdAt
integer
必需
user
object
必需
示例
{
"success": true,
"message": null,
"data": {
"id": 1,
"appId": "7355608",
"comment": "oh yes!",
"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:52:34