Skip to content

Classes

A class (turma) ties a modality, a teacher, and a schedule together. Roster management (who’s enrolled) is a separate tool group — see Class roster.

ArgumentTypeRequiredNotes
limitnumbernodefault 50, max 200
offsetnumbernodefault 0

Ordered by created_at descending.

ArgumentTypeRequired
iduuidyes
ArgumentTypeRequiredNotes
modality_iduuidyes
teacher_iduuidyes
namestringnooptional display name
schedulestringyesfree text, e.g. "Seg/Qua/Sex 19h"
capacityintegeryes≥ 1. Not enforced against roster size — same as the staff UI.

Same fields as create_class, all optional, plus id (required). name accepts null to clear.

ArgumentTypeRequired
iduuidyes

Fails if any class_enrollments row still references this class.