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
problem
object

Patch describes the fields UpdateProblem can change, a field is written only if it is set.

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