A helper-interface:
Interface TreeIdNode {
id: Id;
children?: TreeIdNode[];
}
Payload
{
meeting_id: Id;
tree: TreeIdNode[]; // recursive tree of ids.
}
All meeting/agenda_item_ids
must be given. Sorts the agenda items with the agenda_item/parent_id
and agenda_item/weight
fields.
The request user needs agenda_item.can_manage
.