changedInput schema / properties / action / oneOf
Previous value: -[
- {
- "const": "update_template",
- "description": "Replaces the whole template. After validation an automatic backup (rotated) is made; the save is refused if the backup fails, and the result carries backup.id. Required: module_id, template_id, html_content."
- },
- {
- "const": "patch_template",
- "description": "Replaces one exact fragment of a template with code_paste. Makes the same automatic backup as update_template. Required: module_id, template_id, code_search, code_paste."
- },
- {
- "const": "create_backup",
- "description": "Makes a manual template backup (never rotated; refused with LIMIT_REACHED when the limit is reached) and returns backup.id."
- },
- {
- "const": "gblock_create",
- "description": "Creates or replaces a global block (block id in id or gblock_id). Optional: id, gblock_id, content, pda."
- },
- {
- "const": "menu_create",
- "description": "Creates a menu. Required: title. Optional: layout."
- },
- {
- "const": "menu_update",
- "description": "Changes the title or layout of a menu. Required: menu_id. Optional: title, layout."
- },
- {
- "const": "menu_update_items",
- "description": "Replaces the items of a menu. The text of an item goes in title. Required: menu_id, items."
- },
- {
- "const": "mail_create_form",
- "description": "Creates a mail form. Required: mail_name, mail_emails. Optional: mail_rez."
- },
- {
- "const": "mail_update_form",
- "description": "Updates a mail form. Required: mail_form_id. Optional: mail_name, mail_emails, mail_rez."
- },
- {
- "const": "mail_add_field",
- "description": "Adds a field to a mail form. Required: mail_form_id, mail_field_type, mail_name. Optional: mail_required, mail_values."
- },
- {
- "const": "mail_update_field",
- "description": "Updates a mail form field. Required: mail_form_id, mail_field_id. Optional: mail_field_type, mail_name, mail_required, mail_values."
- },
- {
- "const": "mail_move_field",
- "description": "Moves a mail form field up or down. Required: mail_form_id, mail_field_id, mail_direction."
- },
- {
- "const": "mail_save_template",
- "description": "Saves the notification email template of a mail form. Required: mail_form_id, mail_tmpl."
- },
- {
- "const": "page_add",
- "description": "Creates a site page. Optional: page_name, page_message, page_parent_id, page_pending, page_owntmpl, page_tmpl, page_ownurl, page_access_all, page_meta_title, page_meta_description, page_meta_keywords, page_other1, page_other2, page_other3, page_other4, page_other5."
- },
- {
- "const": "page_update",
- "description": "Updates a site page. Required: page_id. Optional: page_name, page_message, page_parent_id, page_pending, page_owntmpl, page_tmpl, page_ownurl, page_access_all, page_meta_title, page_meta_description, page_meta_keywords, page_other1, page_other2, page_other3, page_other4, page_other5."
- }
-]New value: +[
+ {
+ "const": "update_template",
+ "description": "Replaces the whole template. After validation an automatic backup (rotated) is made; the save is refused if the backup fails, and the result carries backup.id. Required: module_id, template_id, html_content."
+ },
+ {
+ "const": "patch_template",
+ "description": "Replaces one exact fragment of a template with code_paste. Makes the same automatic backup as update_template. Required: module_id, template_id, code_search, code_paste."
+ },
+ {
+ "const": "create_backup",
+ "description": "Makes a manual template backup (never rotated; refused with LIMIT_REACHED when the limit is reached) and returns backup.id."
+ },
+ {
+ "const": "gblock_create",
+ "description": "Creates a global block (block id in id or gblock_id: Latin letters, cut to 10 and upper-cased). Without content the block is created empty. A block that already exists is refused (ALREADY_EXISTS). Required: id or gblock_id. Optional: content, pda."
+ },
+ {
+ "const": "menu_create",
+ "description": "Creates a menu. Required: title. Optional: layout."
+ },
+ {
+ "const": "menu_update",
+ "description": "Changes the title or layout of a menu. Required: menu_id. Optional: title, layout."
+ },
+ {
+ "const": "menu_update_items",
+ "description": "Replaces the items of a menu. The text of an item goes in title. Required: menu_id, items."
+ },
+ {
+ "const": "mail_create_form",
+ "description": "Creates a mail form. Required: mail_name, mail_emails. Optional: mail_rez."
+ },
+ {
+ "const": "mail_update_form",
+ "description": "Updates a mail form. Required: mail_form_id. Optional: mail_name, mail_emails, mail_rez."
+ },
+ {
+ "const": "mail_add_field",
+ "description": "Adds a field to a mail form. Required: mail_form_id, mail_field_type, mail_name. Optional: mail_required, mail_values."
+ },
+ {
+ "const": "mail_update_field",
+ "description": "Updates a mail form field. Required: mail_form_id, mail_field_id. Optional: mail_field_type, mail_name, mail_required, mail_values."
+ },
+ {
+ "const": "mail_move_field",
+ "description": "Moves a mail form field up or down. Required: mail_form_id, mail_field_id, mail_direction."
+ },
+ {
+ "const": "mail_save_template",
+ "description": "Saves the notification email template of a mail form. Required: mail_form_id, mail_tmpl."
+ },
+ {
+ "const": "page_add",
+ "description": "Creates a site page. Required: page_name. Optional: page_message, page_parent_id, page_pending, page_owntmpl, page_tmpl, page_ownurl, page_access_all, page_meta_title, page_meta_description, page_meta_keywords, page_other1, page_other2, page_other3, page_other4, page_other5."
+ },
+ {
+ "const": "page_update",
+ "description": "Updates a site page. Required: page_id. Optional: page_name, page_message, page_parent_id, page_pending, page_owntmpl, page_tmpl, page_ownurl, page_access_all, page_meta_title, page_meta_description, page_meta_keywords, page_other1, page_other2, page_other3, page_other4, page_other5."
+ }
+]