Skip to content

Update for https://github.com/DMOJ/online-judge/pull/1743 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions docs/site/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ Example: [/api/v2/contest/bts19](https://dmoj.ca/api/v2/contest/bts19)
"tiebreaker": "<participant tiebreaker value>",
"old_rating": "<participant rating before the contest, or null if not rated>",
"new_rating": "<participant rating after the contest, or null if not rated>",
"old_raw_rating": "<participant raw rating before the contest, or null if not rated>",
"new_raw_rating": "<participant raw rating after the contest, or null if not rated>",
"performance": "<participant performance, null if not rated>",
"is_disqualified": "<whether this participant is disqualified>",
"solutions": [
"<list of contest format-dependant dictionaries for individual problem scores>"
Expand Down Expand Up @@ -199,6 +202,11 @@ Example: [/api/v2/participations?contest=dmopc19c6&virtual_participation_number=
"score": "<participant score>",
"cumulative_time": "<participant cumulative time, dependant on the contest format>",
"tiebreaker": "<participant tiebreaker value>",
"old_rating": "<participant rating before the contest, or null if not rated>",
"new_rating": "<participant rating after the contest, or null if not rated>",
"old_raw_rating": "<participant raw rating before the contest, or null if not rated>",
"new_raw_rating": "<participant raw rating after the contest, or null if not rated>",
"performance": "<participant performance, null if not rated>",
"is_disqualified": "<whether this participant is disqualified>",
"virtual_participation_number": "<virtual participation number>"
}
Expand Down Expand Up @@ -319,11 +327,18 @@ Example: [/api/v2/user/Xyene](https://dmoj.ca/api/v2/user/Xyene)
"contests": [
{
"key": "<contest key>",
"start_time": "<effective participation start time in ISO format>",
"end_time": "<participation end time in ISO format>",
"score": "<user score>",
"cumulative_time": "<user cumulative time, dependant on the contest format>",
"rating": "<user rating after this contest, or null if not rated>",
"raw_rating": "<user raw rating after this contest, or null if not rated>",
"performance": "<user performance, or null if not rated>"
"tiebreaker": "<user tiebreaker value>",
"old_rating": "<user rating before the contest, or null if not rated>",
"new_rating": "<user rating after the contest, or null if not rated>",
"old_raw_rating": "<user raw rating before the contest, or null if not rated>",
"new_raw_rating": "<user raw rating after the contest, or null if not rated>",
"performance": "<participant performance, null if not rated>",
"is_disqualified": "<whether this user is disqualified>",
"virtual_participation_number": "<virtual participation number>"
}
]
}
Expand Down