Skip to main content

Open contest (v1)

Method & Path

POST /api/v1/workspace/:workspaceId/contests/:contestId/open

Description

Moves a contest to open when the question pool size is at least questionsToShowCount.

  • From draft to open (initial launch)
  • From ended to open (re-open after ending) Public participants can then start attempts.

Authentication

Required: Workspace token. Persona: Workspace Owner.

Response 200 OK

{ "contest": { "status": "open", "...": "..." } }

Common Errors

  • 409 Conflict: Contest is already open
  • 422 Unprocessable Entity: Insufficient questions in pool
  • 401 Unauthorized