File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -4504,6 +4504,23 @@ paths:
4504
4504
default : 0
4505
4505
type : integer
4506
4506
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
4507
4524
' 500 ' :
4508
4525
content :
4509
4526
application/json :
@@ -5852,6 +5869,58 @@ paths:
5852
5869
summary : 编辑条目讨论回复
5853
5870
tags :
5854
5871
- 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
5855
5924
/p1/subjects/-/topics/{topicID} :
5856
5925
get :
5857
5926
operationId : getSubjectTopic
You can’t perform that action at this time.
0 commit comments