Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 409 Bytes

motion.sort.md

File metadata and controls

22 lines (19 loc) · 409 Bytes

Payload

A helper-interface:

Interface TreeIdNode {
    id: Id;
    children?: TreeIdNode[];
}

Payload:

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

Action

Sorts all motions of the meeting in a tree by motion/sort_parent_id and motion/sort_weight. All motion ids of the meeting must be given.

Permissions

The request user needs motion.can_manage.