Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 417 Bytes

motion_category.sort.md

File metadata and controls

23 lines (19 loc) · 417 Bytes

Payload

A helper-interface:

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

Actual payload:

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

Action

All category ids of th 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.