Actions12
Create Program
AI-generatedSummary
Create a new Boostcamp program by submitting a program JSON payload. The operation forces the created program status to 'draft' and does not allow publishing during creation.
Inputs
- Program JSON (required) — The JSON object describing the program details including title, description, difficulties, equipments, goals, thumbnail, time per workout, publishing status (which will be overridden to draft), source, weeks with days, weekdays, days per week, and variations with weeks, weekdays, and workouts.
Output shape
a single JSON object containing the created program data as returned by the Boostcamp API
The created program will always have a status of 'draft' regardless of the provided status or publish_status fields. Publishing a program is not supported in this creation operation and will throw an error if attempted.
Examples
Example 1: Create a new Boostcamp program
Provide the program JSON object parameter with desired details; the program will be created in draft status.