From 38463fa192dda85d3b70b3d216f8c804936d3d16 Mon Sep 17 00:00:00 2001 From: JoshuaTianYangLiu Date: Thu, 26 Aug 2021 17:20:06 -0400 Subject: [PATCH 1/2] Update for https://github.com/DMOJ/online-judge/pull/1743 --- docs/site/api.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/site/api.md b/docs/site/api.md index cee346e..3d653fd 100644 --- a/docs/site/api.md +++ b/docs/site/api.md @@ -170,6 +170,10 @@ Example: [/api/v2/contest/bts19](https://dmoj.ca/api/v2/contest/bts19) "tiebreaker": "", "old_rating": "", "new_rating": "", + "old_raw_rating": "", + "new_raw_rating": "", + "old_performance": "", + "new_performance": "", "is_disqualified": "", "solutions": [ "" @@ -199,6 +203,12 @@ Example: [/api/v2/participations?contest=dmopc19c6&virtual_participation_number= "score": "", "cumulative_time": "", "tiebreaker": "", + "old_rating": "", + "new_rating": "", + "old_raw_rating": "", + "new_raw_rating": "", + "old_performance": "", + "new_performance": "", "is_disqualified": "", "virtual_participation_number": "" } @@ -319,11 +329,19 @@ Example: [/api/v2/user/Xyene](https://dmoj.ca/api/v2/user/Xyene) "contests": [ { "key": "", + "start_time": "", + "end_time": "", "score": "", "cumulative_time": "", - "rating": "", - "raw_rating": "", - "performance": "" + "tiebreaker": "", + "old_rating": "", + "new_rating": "", + "old_raw_rating": "", + "new_raw_rating": "", + "old_performance": "", + "new_performance": "", + "is_disqualified": "", + "virtual_participation_number": "" } ] } From 8324e930a2a25af06ea50e17a24255f0dba4a5de Mon Sep 17 00:00:00 2001 From: JoshuaTianYangLiu Date: Fri, 27 Aug 2021 11:26:14 -0400 Subject: [PATCH 2/2] Remove old_performance --- docs/site/api.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/site/api.md b/docs/site/api.md index 3d653fd..b5dbaa1 100644 --- a/docs/site/api.md +++ b/docs/site/api.md @@ -172,8 +172,7 @@ Example: [/api/v2/contest/bts19](https://dmoj.ca/api/v2/contest/bts19) "new_rating": "", "old_raw_rating": "", "new_raw_rating": "", - "old_performance": "", - "new_performance": "", + "performance": "", "is_disqualified": "", "solutions": [ "" @@ -207,8 +206,7 @@ Example: [/api/v2/participations?contest=dmopc19c6&virtual_participation_number= "new_rating": "", "old_raw_rating": "", "new_raw_rating": "", - "old_performance": "", - "new_performance": "", + "performance": "", "is_disqualified": "", "virtual_participation_number": "" } @@ -338,8 +336,7 @@ Example: [/api/v2/user/Xyene](https://dmoj.ca/api/v2/user/Xyene) "new_rating": "", "old_raw_rating": "", "new_raw_rating": "", - "old_performance": "", - "new_performance": "", + "performance": "", "is_disqualified": "", "virtual_participation_number": "" }