UpdateProblem

UpdateProblem writes the few settings the contest keeps for a problem of its own; anything else about the problem is edited in the archive instead. Reordering happens here too and there is no separate move method: writing an index moves the problem to that position and the problems it passes shift to keep the numbering contiguous, while an index of zero or beyond the last position puts the problem at the end. Only fields named in the patch are written, an empty patch writes all of them, and a finalized contest rejects the call.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
string
required
Body Params
patch
array of strings

Patch request to update participant partially (all fields are updated if not specified)

patch
Allowed:
problem
object
Response

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json