Coach Session Prep

Upsert one leader-notes entry for a specific agenda step (AC9)

Upserts the (coach, session, block_key, scope[, group_id]) row. Passing an empty content_html soft-deletes the row. Per AC8: scope='all_groups' shares the note across all of the coach's groups for this session; scope='group' creates a per-group overlay.

put/api/coach/sessions/{sessionId}/leader-notes

Request

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

Path parameters

sessionIdstring uuid required

Request body

block_keystring required
scope'all_groups' | 'group' required

Whether a leader-notes row applies to all the coach's groups (shared) or a specific group overlay.

group_idstring uuid nullable
content_htmlstring required

Sanitized HTML from the RichTextEditor. Empty string soft-deletes.

Example request

{
  "block_key": "0:1"
}

Response

Saved (or null if soft-deleted)

successboolean

Changes

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