Session Agenda Authoring

Pre-populate the target editor with another session's authored content (MED-982 / E1.3g)

Copies the source session's authored content (description, agenda sections + leader prompts + visuals, participant pre-session work

  • reflection prompts) into the response for the target editor's draft state. The agenda fields are NOT persisted to the target until the editor's normal Save (AC-S1); only the slide deck is persisted server-side at this point (AC-CB2 — S3 copy → new session_content_files row for the target, replacing any existing target slide_deck row atomically).

The response applies the TARGET cohort's commitment-tracking gate (AC-CB6): per-section commitment toggles and the pre-session work commitment_review_enabled flag are forced to false when the target cohort has tracking off, so the editor never inherits a stranded value it cannot surface.

The source can live in a different cohort. Both source and target must resolve to a (cohort, modality='group_coaching', session_number) triple — sessions without a session_number or whose cohort lacks an active group_coaching modality return 404.

post/cohorts/{cohortId}/sessions/{sessionId}/agenda/duplicate-from

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    none declared

Path parameters

cohortIdstring uuid required
sessionIdstring uuid required

Request body

source_session_idstring uuid required

A session id from the source cohort (any group's row at the source session_number — the service resolves to the canonical scope).

Response

Reconciled content payload + (if copied) new slide_deck_file metadata. The editor loads sections / description / participant_pre_session_work into draft state and refreshes its content-files list to pick up the new deck.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.