prepare_activity_publication
Prepare an activity entry from a selected published workout using its source ID; returns a ready preview or read-only draft with historical load suggestions before confirmation.
Instructions
Read a selected gym workout in the current supported publication view and prepare one own activity entry. Supply its source ID from get_published_workouts and one difficulty label if several exist. With no result or actual load, return a read-only draft with historical kilogram suggestions but no action reference; then prepare again with a supported result or explicitly confirmed actual kilograms. The audience and WOD TV setting come from account preferences and are rechecked before execution. Show the full ready preview and obtain action-specific confirmation before execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gymId | No | ||
| comment | No | ||
| actualLoads | No | ||
| activityDate | No | ||
| blockResults | No | ||
| variantLabel | No | ||
| sourceActivityId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |