add_portal_menu_item
ActiveTool of QuintaDB
Додати пункт меню порталу. Top-level: module_ai_id + module_id. Підменю-група: module_ai_id='submenu' + name (без module_id). Підпункт: parent_section_id + module_ai_id + module_id. Типи module_ai_id: form_ID/table_ID=форма, report_ID=звіт, map_ID=карта, cal_ID=календар, chart_ID=графік.
Parameters schema
{
"type": "object",
"required": [
"app_id",
"portal_id"
],
"properties": {
"url": {
"type": "string",
"description": "URL для module_type=12"
},
"icon": {
"type": "string",
"description": "FontAwesome клас іконки"
},
"name": {
"type": "string",
"description": "Назва пункту меню"
},
"app_id": {
"type": "string",
"description": "Project ID (from list_projects)"
},
"position": {
"type": "integer",
"description": "Позиція в меню"
},
"module_id": {
"type": "string",
"description": "Реальний ID модуля (форми, звіту, карти тощо). Не потрібен для submenu-групи."
},
"portal_id": {
"type": "string",
"description": "Portal ID (from list_portals or describe_project)"
},
"module_type": {
"type": "integer",
"description": "Альтернатива module_ai_id: 10=підменю, 12=URL, 13=HTML-сторінка"
},
"module_ai_id": {
"type": "string",
"description": "form_ID, table_ID, report_ID, map_ID, cal_ID, chart_ID, або 'submenu' для групи підменю"
},
"parent_section_id": {
"type": "string",
"description": "ID батьківської секції підменю (з list_portal_menu_items) — для підпунктів"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
QuintaDB
1/7 registries