File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 6464 </tr >
6565</table >
6666
67+ ## 获取创建的比赛
68+
69+ <table >
70+ <tr >
71+ <th align="right">请求</th>
72+ <td><code>GET /contest/edit/:id</code></td>
73+ </tr >
74+ <tr >
75+ <th align="right">响应主体</th>
76+ <td><code>application/json</code> (<code>DataResponse<CreatedContestData></code>)</td>
77+ </tr >
78+ </table >
79+
6780## 获取排行榜
6881
6982<table >
Original file line number Diff line number Diff line change @@ -437,8 +437,9 @@ export interface ContestData {
437437}
438438
439439export interface CreatedContestData {
440+ isContestAdmin : boolean ;
440441 contest : ContestDetails & { joinCode : string } ;
441- contestProblems : { score : number ; problem : LegacyProblemSummary } ;
442+ contestProblems : { score : number ; problem : LegacyProblemSummary } [ ] ;
442443 contestSetting : ContestSettings ;
443444 privilegedTeams : TeamSummary [ ] ;
444445}
@@ -794,6 +795,10 @@ export interface ContestSettings {
794795 ruleType : number ;
795796 startTime : number ;
796797 endTime : number ;
798+ rated : boolean ;
799+ ratingGroup : string | null ;
800+ eloThreshold : number | null ;
801+ eloCenter : number | null ;
797802}
798803
799804export interface Score {
You can’t perform that action at this time.
0 commit comments