Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 437 Bytes

File metadata and controls

24 lines (20 loc) · 437 Bytes

Payload

A helper-interface:

Interface TreeIdNode {
    id: Id;
    // Optional
    children: TreeIdNode[];
}

Actual payload:

{
    meeting_id: Id;
    tree: TreeIdNode[]; // recursive tree of ids.
}

Action

All category ids of the meeting must be given. Sorts the categories with the motion_category/parent_id and motion_category/weight fields.

Permissions

The request user needs motion.can_manage.