Skip to content

Commit 301eb85

Browse files
authored
[create-pull-request] automated change (#142)
1 parent ad18171 commit 301eb85

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

api.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4504,6 +4504,23 @@ paths:
45044504
default: 0
45054505
type: integer
45064506
responses:
4507+
'200':
4508+
content:
4509+
application/json:
4510+
schema:
4511+
properties:
4512+
data:
4513+
items:
4514+
$ref: '#/components/schemas/GroupTopic'
4515+
type: array
4516+
total:
4517+
description: limit+offset 为参数的请求表示总条数,page 为参数的请求表示总页数
4518+
type: integer
4519+
required:
4520+
- data
4521+
- total
4522+
type: object
4523+
description: Default Response
45074524
'500':
45084525
content:
45094526
application/json:
@@ -5852,6 +5869,58 @@ paths:
58525869
summary: 编辑条目讨论回复
58535870
tags:
58545871
- topic
5872+
/p1/subjects/-/topics:
5873+
get:
5874+
operationId: getRecentSubjectTopics
5875+
parameters:
5876+
- description: max 100
5877+
in: query
5878+
name: limit
5879+
required: false
5880+
schema:
5881+
default: 20
5882+
maximum: 100
5883+
minimum: 1
5884+
type: integer
5885+
- description: min 0
5886+
in: query
5887+
name: offset
5888+
required: false
5889+
schema:
5890+
default: 0
5891+
minimum: 0
5892+
type: integer
5893+
responses:
5894+
'200':
5895+
content:
5896+
application/json:
5897+
schema:
5898+
properties:
5899+
data:
5900+
items:
5901+
$ref: '#/components/schemas/SubjectTopic'
5902+
type: array
5903+
total:
5904+
description: limit+offset 为参数的请求表示总条数,page 为参数的请求表示总页数
5905+
type: integer
5906+
required:
5907+
- data
5908+
- total
5909+
type: object
5910+
description: Default Response
5911+
'500':
5912+
content:
5913+
application/json:
5914+
schema:
5915+
$ref: '#/components/schemas/ErrorResponse'
5916+
description: 意料之外的服务器错误
5917+
description: 意料之外的服务器错误
5918+
security:
5919+
- CookiesSession: []
5920+
HTTPBearer: []
5921+
summary: 获取最新的条目讨论
5922+
tags:
5923+
- subject
58555924
/p1/subjects/-/topics/{topicID}:
58565925
get:
58575926
operationId: getSubjectTopic

0 commit comments

Comments
 (0)