class-management

Create a class (sub-team) with the teacher as admin

post/class-management/classes

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

namestring required
parent_team_idstring uuid required

Required parent (school) team. A class always belongs to a parent team: it inherits the parent's expiry and enrols only from the parent's members. Missing/empty/non-UUID values are rejected here (400) before the request reaches the service.

Response

owner_idstring nullable
team_sizenumber
team_size_limitnumber
is_activeboolean
expires_dateobject
stripe_dataobject
stripe_subscription_idstring
namestring
payment_typestring
parent_team_idstring
parent_teamTeam circular
is_classboolean
is_schoolboolean
archived_atstring date-time nullable
class_session_window_startstring
class_session_window_endstring
concern_focus_threshold_pctnumber
concern_lookback_sessionsnumber
child_teamsTeam[] circular
idstring
created_atstring
updated_atstring

Changes

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