Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 407 Bytes

agenda_item.sort.md

File metadata and controls

23 lines (19 loc) · 407 Bytes

Payload

A helper-interface:

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

Payload

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

Action

All meeting/agenda_item_ids must be given. Sorts the agenda items with the agenda_item/parent_id and agenda_item/weight fields.

Permissions

The request user needs agenda_item.can_manage.