A helper-interface:
Interface TreeIdNode {
id: Id;
// Optional
children: TreeIdNode[];
}Actual payload:
{
meeting_id: Id;
tree: TreeIdNode[]; // recursive tree of ids.
}All category ids of the meeting must be given. Sorts the categories with the motion_category/parent_id and motion_category/weight fields.
The request user needs motion.can_manage.