Create a build session
repovive_build_create_sessionCreate a private problem draft on Repovive and receive a session ID. Set force_new to false to resume an existing draft by name.
Instructions
Start a new problem draft on Repovive and return its session id. Drafts are private to the authoring account until explicitly attached to a contest. Set force_new=False to resume an existing draft with the same name instead of creating another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Editor mode: 'text' (default) | text |
| force_new | No | Always start a fresh draft instead of resuming an existing one | |
| session_name | Yes | Name for the new problem draft |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |