Update a contest (admin)
repovive_update_contestUpdate contest settings such as title, lobby problem count, weekly-challenge flag, problem display style, and rated tier cap. Only provided fields are changed; requires contest administration rights.
Instructions
Update a contest's settings — title, lobby problem count, admin-only and weekly-challenge flags, problem display style, rated tier cap. Only the arguments you pass are changed. Requires contest administration rights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title | |
| admin_only | No | Restrict the contest to admins | |
| contest_id | Yes | Contest ObjectId (24 hex) | |
| rated_max_tier | No | Rated max tier slug | |
| problem_display | No | How problems are labelled: 'letters' or 'numbers' | |
| is_weekly_challenge | No | Mark as the weekly challenge | |
| lobby_problems_count | No | How many problems the lobby shows |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |