好友列表
POST
/get_friend_list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
no_cache
boolean
可选
默认值:
false
示例
{
"no_cache": false
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/get_friend_list' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"status": "ok",
"retcode": 0,
"data": [
{
"user_id": 379450326,
"nickname": "林雨辰的猫不见了",
"remark": "林雨辰的那只神经喵喵",
"sex": "unknown",
"level": 0
},
{
"user_id": 721011692,
"nickname": "--",
"remark": "",
"sex": "female",
"level": 0
}
],
"message": "",
"wording": "",
"echo": null
}
修改于 2024-10-23 13:55:55