@@ -143,15 +143,33 @@ paths:
143143 in : path
144144 schema :
145145 type : number
146+ - name : until
147+ required : false
148+ in : query
149+ example : ' 2024-03-21T01:56:02.464Z'
150+ description : この日時より過去のフォロー/フォロワーを取得します。
151+ schema :
152+ format : date-time
153+ type : string
154+ - name : limit
155+ required : false
156+ in : query
157+ example : 20
158+ description : 取得件数
159+ schema :
160+ minimum : 1
161+ maximum : 40
162+ default : 20
163+ type : number
146164 responses :
147165 ' 200 ' :
148166 description : フォロワー一覧
149167 content :
150168 application/json :
151169 schema :
152- type : array
153- items :
154- $ref : ' #/components/schemas/User '
170+ $ref : ' #/components/schemas/FollowList '
171+ ' 403 ' :
172+ description : 閲覧権限がありません
155173 ' 404 ' :
156174 description : ユーザーが見つかりませんでした。
157175 tags :
@@ -169,15 +187,33 @@ paths:
169187 in : path
170188 schema :
171189 type : number
190+ - name : until
191+ required : false
192+ in : query
193+ example : ' 2024-03-21T01:56:02.464Z'
194+ description : この日時より過去のフォロー/フォロワーを取得します。
195+ schema :
196+ format : date-time
197+ type : string
198+ - name : limit
199+ required : false
200+ in : query
201+ example : 20
202+ description : 取得件数
203+ schema :
204+ minimum : 1
205+ maximum : 40
206+ default : 20
207+ type : number
172208 responses :
173209 ' 200 ' :
174210 description : フォロー一覧
175211 content :
176212 application/json :
177213 schema :
178- type : array
179- items :
180- $ref : ' #/components/schemas/User '
214+ $ref : ' #/components/schemas/FollowList '
215+ ' 403 ' :
216+ description : 閲覧権限がありません
181217 ' 404 ' :
182218 description : ユーザーが見つかりませんでした。
183219 tags :
@@ -212,7 +248,7 @@ paths:
212248 - bearer : []
213249 delete :
214250 operationId : deleteFollow
215- summary : ユーザーIDをフォロー解除する
251+ summary : ユーザーIDをフォロー解除する。またはフォローリクエストをキャンセルする
216252 parameters :
217253 - name : id
218254 required : true
@@ -399,7 +435,7 @@ paths:
399435 application/json :
400436 schema :
401437 $ref : ' #/components/schemas/UserPost'
402- ' 401 ' :
438+ ' 403 ' :
403439 description : 閲覧権限がありません
404440 ' 404 ' :
405441 description : 投稿が見つかりませんでした。
@@ -993,6 +1029,9 @@ components:
9931029 type : string
9941030 verified :
9951031 type : boolean
1032+ is_remote :
1033+ type : boolean
1034+ description : リモートユーザーかどうか
9961035 required :
9971036 - id
9981037 - name
@@ -1003,6 +1042,7 @@ components:
10031042 - is_private
10041043 - url
10051044 - verified
1045+ - is_remote
10061046 UserWithFollows :
10071047 type : object
10081048 properties :
@@ -1026,6 +1066,9 @@ components:
10261066 type : string
10271067 verified :
10281068 type : boolean
1069+ is_remote :
1070+ type : boolean
1071+ description : リモートユーザーかどうか
10291072 followers_count :
10301073 type : number
10311074 description : フォロワー数
@@ -1044,6 +1087,7 @@ components:
10441087 - is_private
10451088 - url
10461089 - verified
1090+ - is_remote
10471091 Post :
10481092 type : object
10491093 properties :
@@ -1124,6 +1168,21 @@ components:
11241168 - favorite_count
11251169 - reposted
11261170 - favorited
1171+ FollowList :
1172+ type : object
1173+ properties :
1174+ users :
1175+ description : ユーザー一覧
1176+ type : array
1177+ items :
1178+ $ref : ' #/components/schemas/User'
1179+ next_until :
1180+ format : date-time
1181+ type : string
1182+ description : 次ページ取得に使用するuntil
1183+ required :
1184+ - users
1185+ - next_until
11271186 Relationship :
11281187 type : object
11291188 properties :
0 commit comments