File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3589,6 +3589,62 @@ const docTemplate = `{
35893589 }
35903590 }
35913591 },
3592+ "/admin/rank/invalid_knowledge": {
3593+ "get": {
3594+ "produces": [
3595+ "application/json"
3596+ ],
3597+ "tags": [
3598+ "rank"
3599+ ],
3600+ "summary": "invalid knowledge rank",
3601+ "parameters": [
3602+ {
3603+ "type": "integer",
3604+ "name": "count",
3605+ "in": "query"
3606+ }
3607+ ],
3608+ "responses": {
3609+ "200": {
3610+ "description": "OK",
3611+ "schema": {
3612+ "allOf": [
3613+ {
3614+ "$ref": "#/definitions/context.Response"
3615+ },
3616+ {
3617+ "type": "object",
3618+ "properties": {
3619+ "data": {
3620+ "type": "array",
3621+ "items": {
3622+ "allOf": [
3623+ {
3624+ "$ref": "#/definitions/model.RankTimeGroup"
3625+ },
3626+ {
3627+ "type": "object",
3628+ "properties": {
3629+ "items": {
3630+ "type": "array",
3631+ "items": {
3632+ "$ref": "#/definitions/model.RankTimeGroupItem"
3633+ }
3634+ }
3635+ }
3636+ }
3637+ ]
3638+ }
3639+ }
3640+ }
3641+ }
3642+ ]
3643+ }
3644+ }
3645+ }
3646+ }
3647+ },
35923648 "/admin/stat/discussion": {
35933649 "get": {
35943650 "produces": [
@@ -3715,7 +3771,8 @@ const docTemplate = `{
37153771 5,
37163772 6,
37173773 7,
3718- 8
3774+ 8,
3775+ 9
37193776 ],
37203777 "type": "integer"
37213778 },
@@ -6915,14 +6972,16 @@ const docTemplate = `{
69156972 1,
69166973 2,
69176974 3,
6918- 4
6975+ 4,
6976+ 5
69196977 ],
69206978 "type": "integer",
69216979 "x-enum-varnames": [
69226980 "RankTypeContribute",
69236981 "RankTypeAIInsight",
69246982 "RankTypeAllContribute",
6925- "RankTypeHotQuestion"
6983+ "RankTypeHotQuestion",
6984+ "RankTypeInvalidKnowledge"
69266985 ],
69276986 "name": "type",
69286987 "in": "query",
@@ -9969,13 +10028,15 @@ const docTemplate = `{
996910028 1,
997010029 2,
997110030 3,
9972- 4
10031+ 4,
10032+ 5
997310033 ],
997410034 "x-enum-varnames": [
997510035 "RankTypeContribute",
997610036 "RankTypeAIInsight",
997710037 "RankTypeAllContribute",
9978- "RankTypeHotQuestion"
10038+ "RankTypeHotQuestion",
10039+ "RankTypeInvalidKnowledge"
997910040 ]
998010041 },
998110042 "model.StatTrend": {
@@ -10010,7 +10071,8 @@ const docTemplate = `{
1001010071 5,
1001110072 6,
1001210073 7,
10013- 8
10074+ 8,
10075+ 9
1001410076 ],
1001510077 "x-enum-varnames": [
1001610078 "StatTypeVisit",
@@ -10020,7 +10082,8 @@ const docTemplate = `{
1002010082 "StatTypeDiscussionQA",
1002110083 "StatTypeDiscussionBlog",
1002210084 "StatTypeDiscussionIssue",
10023- "StatTypeBotUnknownComment"
10085+ "StatTypeBotUnknownComment",
10086+ "StatTypeKnowledgeHit"
1002410087 ]
1002510088 },
1002610089 "model.SystemBrand": {
Original file line number Diff line number Diff line change 35823582 }
35833583 }
35843584 },
3585+ "/admin/rank/invalid_knowledge" : {
3586+ "get" : {
3587+ "produces" : [
3588+ " application/json"
3589+ ],
3590+ "tags" : [
3591+ " rank"
3592+ ],
3593+ "summary" : " invalid knowledge rank" ,
3594+ "parameters" : [
3595+ {
3596+ "type" : " integer" ,
3597+ "name" : " count" ,
3598+ "in" : " query"
3599+ }
3600+ ],
3601+ "responses" : {
3602+ "200" : {
3603+ "description" : " OK" ,
3604+ "schema" : {
3605+ "allOf" : [
3606+ {
3607+ "$ref" : " #/definitions/context.Response"
3608+ },
3609+ {
3610+ "type" : " object" ,
3611+ "properties" : {
3612+ "data" : {
3613+ "type" : " array" ,
3614+ "items" : {
3615+ "allOf" : [
3616+ {
3617+ "$ref" : " #/definitions/model.RankTimeGroup"
3618+ },
3619+ {
3620+ "type" : " object" ,
3621+ "properties" : {
3622+ "items" : {
3623+ "type" : " array" ,
3624+ "items" : {
3625+ "$ref" : " #/definitions/model.RankTimeGroupItem"
3626+ }
3627+ }
3628+ }
3629+ }
3630+ ]
3631+ }
3632+ }
3633+ }
3634+ }
3635+ ]
3636+ }
3637+ }
3638+ }
3639+ }
3640+ },
35853641 "/admin/stat/discussion" : {
35863642 "get" : {
35873643 "produces" : [
37083764 5 ,
37093765 6 ,
37103766 7 ,
3711- 8
3767+ 8 ,
3768+ 9
37123769 ],
37133770 "type" : " integer"
37143771 },
69086965 1 ,
69096966 2 ,
69106967 3 ,
6911- 4
6968+ 4 ,
6969+ 5
69126970 ],
69136971 "type" : " integer" ,
69146972 "x-enum-varnames" : [
69156973 " RankTypeContribute" ,
69166974 " RankTypeAIInsight" ,
69176975 " RankTypeAllContribute" ,
6918- " RankTypeHotQuestion"
6976+ " RankTypeHotQuestion" ,
6977+ " RankTypeInvalidKnowledge"
69196978 ],
69206979 "name" : " type" ,
69216980 "in" : " query" ,
996210021 1 ,
996310022 2 ,
996410023 3 ,
9965- 4
10024+ 4 ,
10025+ 5
996610026 ],
996710027 "x-enum-varnames" : [
996810028 " RankTypeContribute" ,
996910029 " RankTypeAIInsight" ,
997010030 " RankTypeAllContribute" ,
9971- " RankTypeHotQuestion"
10031+ " RankTypeHotQuestion" ,
10032+ " RankTypeInvalidKnowledge"
997210033 ]
997310034 },
997410035 "model.StatTrend" : {
1000310064 5 ,
1000410065 6 ,
1000510066 7 ,
10006- 8
10067+ 8 ,
10068+ 9
1000710069 ],
1000810070 "x-enum-varnames" : [
1000910071 " StatTypeVisit" ,
1001310075 " StatTypeDiscussionQA" ,
1001410076 " StatTypeDiscussionBlog" ,
1001510077 " StatTypeDiscussionIssue" ,
10016- " StatTypeBotUnknownComment"
10078+ " StatTypeBotUnknownComment" ,
10079+ " StatTypeKnowledgeHit"
1001710080 ]
1001810081 },
1001910082 "model.SystemBrand" : {
Original file line number Diff line number Diff line change @@ -1088,12 +1088,14 @@ definitions:
10881088 - 2
10891089 - 3
10901090 - 4
1091+ - 5
10911092 type : integer
10921093 x-enum-varnames :
10931094 - RankTypeContribute
10941095 - RankTypeAIInsight
10951096 - RankTypeAllContribute
10961097 - RankTypeHotQuestion
1098+ - RankTypeInvalidKnowledge
10971099 model.StatTrend :
10981100 properties :
10991101 items :
@@ -1118,6 +1120,7 @@ definitions:
11181120 - 6
11191121 - 7
11201122 - 8
1123+ - 9
11211124 type : integer
11221125 x-enum-varnames :
11231126 - StatTypeVisit
@@ -1128,6 +1131,7 @@ definitions:
11281131 - StatTypeDiscussionBlog
11291132 - StatTypeDiscussionIssue
11301133 - StatTypeBotUnknownComment
1134+ - StatTypeKnowledgeHit
11311135 model.SystemBrand :
11321136 properties :
11331137 logo :
@@ -4896,6 +4900,36 @@ paths:
48964900 summary : list hot quesion item
48974901 tags :
48984902 - rank
4903+ /admin/rank/invalid_knowledge :
4904+ get :
4905+ parameters :
4906+ - in : query
4907+ name : count
4908+ type : integer
4909+ produces :
4910+ - application/json
4911+ responses :
4912+ " 200 " :
4913+ description : OK
4914+ schema :
4915+ allOf :
4916+ - $ref : ' #/definitions/context.Response'
4917+ - properties :
4918+ data :
4919+ items :
4920+ allOf :
4921+ - $ref : ' #/definitions/model.RankTimeGroup'
4922+ - properties :
4923+ items :
4924+ items :
4925+ $ref : ' #/definitions/model.RankTimeGroupItem'
4926+ type : array
4927+ type : object
4928+ type : array
4929+ type : object
4930+ summary : invalid knowledge rank
4931+ tags :
4932+ - rank
48994933 /admin/stat/discussion :
49004934 get :
49014935 parameters :
@@ -4970,6 +5004,7 @@ paths:
49705004 - 6
49715005 - 7
49725006 - 8
5007+ - 9
49735008 type : integer
49745009 name : stat_types
49755010 required : true
@@ -6887,6 +6922,7 @@ paths:
68876922 - 2
68886923 - 3
68896924 - 4
6925+ - 5
68906926 in : query
68916927 name : type
68926928 required : true
@@ -6896,6 +6932,7 @@ paths:
68966932 - RankTypeAIInsight
68976933 - RankTypeAllContribute
68986934 - RankTypeHotQuestion
6935+ - RankTypeInvalidKnowledge
68996936 produces :
69006937 - application/json
69016938 responses :
Original file line number Diff line number Diff line change 77 RankTypeAIInsight
88 RankTypeAllContribute
99 RankTypeHotQuestion
10+ RankTypeInvalidKnowledge
1011)
1112
1213type Rank struct {
You can’t perform that action at this time.
0 commit comments