Push a full problem into a draft
repovive_build_push_problemAdd problem metadata, statement, and optionally test cases to an existing draft. Test cases are appended to the draft's current content.
Instructions
Write a problem object into an existing draft: metadata, statement and (optionally) test cases. Test cases are APPENDED to whatever the draft already holds. For a complete import that also clears old cases and uploads the reference solution, editorial and validator, use repovive_build_author_complete_problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Build session id to write into | |
| problem_json | Yes | A problem object (as produced by repovive_generate_problem or matching repovive_new_problem_template) to write into the draft. | |
| include_testcases | No | Also upload the problem's test cases |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |