File tree Expand file tree Collapse file tree 1 file changed +33
-39
lines changed Expand file tree Collapse file tree 1 file changed +33
-39
lines changed Original file line number Diff line number Diff line change @@ -1212,16 +1212,6 @@ components:
1212
1212
properties :
1213
1213
avatar :
1214
1214
$ref : ' #/components/schemas/Avatar'
1215
- bio :
1216
- type : string
1217
- blocklist :
1218
- items :
1219
- type : integer
1220
- type : array
1221
- friendIDs :
1222
- items :
1223
- type : integer
1224
- type : array
1225
1215
group :
1226
1216
type : integer
1227
1217
id :
@@ -1250,9 +1240,6 @@ components:
1250
1240
- joinedAt
1251
1241
- site
1252
1242
- location
1253
- - bio
1254
- - friendIDs
1255
- - blocklist
1256
1243
- permissions
1257
1244
title : Profile
1258
1245
type : object
@@ -3763,21 +3750,12 @@ paths:
3763
3750
type : object
3764
3751
responses :
3765
3752
' 200 ' :
3766
- description : 没有返回值
3767
- ' 401 ' :
3768
3753
content :
3769
3754
application/json :
3770
- examples :
3771
- NeedLoginError :
3772
- value :
3773
- code : NEED_LOGIN
3774
- error : Unauthorized
3775
- message : you need to login before marking notifications as read
3776
- statusCode : 401
3777
3755
schema :
3778
- $ref : ' #/components/schemas/ErrorResponse '
3779
- description : 未登录
3780
- description : 未登录
3756
+ properties : {}
3757
+ type : object
3758
+ description : Default Response
3781
3759
' 500 ' :
3782
3760
content :
3783
3761
application/json :
@@ -4709,6 +4687,36 @@ paths:
4709
4687
summary : 获取当前用户的关注者列表
4710
4688
tags :
4711
4689
- relationship
4690
+ /p1/friendlist :
4691
+ get :
4692
+ operationId : getFriendlist
4693
+ responses :
4694
+ ' 200 ' :
4695
+ content :
4696
+ application/json :
4697
+ schema :
4698
+ properties :
4699
+ friendlist :
4700
+ items :
4701
+ type : integer
4702
+ type : array
4703
+ required :
4704
+ - friendlist
4705
+ type : object
4706
+ description : Default Response
4707
+ ' 500 ' :
4708
+ content :
4709
+ application/json :
4710
+ schema :
4711
+ $ref : ' #/components/schemas/ErrorResponse'
4712
+ description : 意料之外的服务器错误
4713
+ description : 意料之外的服务器错误
4714
+ security :
4715
+ - CookiesSession : []
4716
+ HTTPBearer : []
4717
+ summary : 获取当前用户的好友 ID 列表
4718
+ tags :
4719
+ - relationship
4712
4720
/p1/friends :
4713
4721
get :
4714
4722
operationId : getMyFriends
@@ -5711,20 +5719,6 @@ paths:
5711
5719
- total
5712
5720
type : object
5713
5721
description : Default Response
5714
- ' 401 ' :
5715
- content :
5716
- application/json :
5717
- examples :
5718
- NeedLoginError :
5719
- value :
5720
- code : NEED_LOGIN
5721
- error : Unauthorized
5722
- message : you need to login before getting notifications
5723
- statusCode : 401
5724
- schema :
5725
- $ref : ' #/components/schemas/ErrorResponse'
5726
- description : 未登录
5727
- description : 未登录
5728
5722
' 500 ' :
5729
5723
content :
5730
5724
application/json :
You can’t perform that action at this time.
0 commit comments