Classes
A class is who a group-scoped event is about. A static class keeps a list you add to; a dynamic class holds whoever's attributes contain its filter, so nobody keeps it up. Beside the classes somebody keeps are temporary lists, picked by a person for one send: you can see them, but a key cannot change one and an event cannot name one. In the High school pack a class is, for example, “5A”.
POSTBuild classes from a student attribute
Requires groups:write. Makes one dynamic class per value the students hold for the attribute you name — or one per combination, for up to four — and returns them. Safe after every import: what exists is left exactly as it is, and nothing is tidied away.
200 with the classes those attributes keep up, made now or before. 400 for a key no student can carry.
A bare JSON array. Each item is one class: the same fields in every pack. Press Response on the sample to see one whole.
On failure the body is { error, code } instead.