changedInput schema / properties / action / enum
Previous value: -[
- "list_modules",
- "get_variables",
- "read_template",
- "validate_template",
- "list_backups",
- "get_reference",
- "get_guide",
- "get_backup_guide",
- "menu_list",
- "menu_get",
- "mail_list_forms",
- "mail_get_form",
- "mail_list_fields",
- "mail_get_template",
- "page_list",
- "page_get"
-]New value: +[
+ "list_modules",
+ "get_variables",
+ "read_template",
+ "validate_template",
+ "list_backups",
+ "get_reference",
+ "get_guide",
+ "get_backup_guide",
+ "menu_list",
+ "menu_get",
+ "mail_list_forms",
+ "mail_get_form",
+ "mail_list_fields",
+ "mail_get_template",
+ "page_list",
+ "page_get",
+ "informer_list",
+ "informer_get"
+]
changedInput schema / properties / action / oneOf
Previous value: -[
- {
- "const": "list_modules",
- "description": "Lists the modules that have templates, with their template ids. Optional: offset."
- },
- {
- "const": "get_variables",
- "description": "Returns a template together with the variables available in it. Required: module_id, template_id."
- },
- {
- "const": "read_template",
- "description": "Returns the template code and its variables. Required: module_id, template_id."
- },
- {
- "const": "validate_template",
- "description": "Checks a full template body (content or html_content) or a code_search/code_paste patch with the same rules as a save. Nothing is saved and no backup is made. Required: module_id, template_id, content or html_content or code_search. Optional: code_paste."
- },
- {
- "const": "list_backups",
- "description": "Lists template backups. Optional: offset."
- },
- {
- "const": "get_reference",
- "description": "Returns the template variables reference (markdown)."
- },
- {
- "const": "get_guide",
- "description": "Returns the template editing guide (markdown)."
- },
- {
- "const": "get_backup_guide",
- "description": "Returns the template backup guide (markdown)."
- },
- {
- "const": "menu_list",
- "description": "Lists site menus. Optional: offset."
- },
- {
- "const": "menu_get",
- "description": "Returns one menu with its items. Required: menu_id."
- },
- {
- "const": "mail_list_forms",
- "description": "Lists mail forms. Optional: offset."
- },
- {
- "const": "mail_get_form",
- "description": "Returns one mail form. Required: mail_form_id."
- },
- {
- "const": "mail_list_fields",
- "description": "Lists the fields of a mail form. Required: mail_form_id. Optional: offset."
- },
- {
- "const": "mail_get_template",
- "description": "Returns the notification email template of a mail form. Required: mail_form_id."
- },
- {
- "const": "page_list",
- "description": "Lists site pages a page at a time. Brief pages by default, without their content; detail=full gives complete pages, page_get one complete page. The reply has page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail, page_page, page_per_page."
- },
- {
- "const": "page_get",
- "description": "Returns one site page. Required: page_id."
- }
-]New value: +[
+ {
+ "const": "list_modules",
+ "description": "Lists the modules that have templates, with their template ids. Optional: offset."
+ },
+ {
+ "const": "get_variables",
+ "description": "Returns a template together with the variables available in it. Required: module_id, template_id."
+ },
+ {
+ "const": "read_template",
+ "description": "Returns the template code and its variables. Required: module_id, template_id."
+ },
+ {
+ "const": "validate_template",
+ "description": "Checks a full template body (content or html_content) or a code_search/code_paste patch with the same rules as a save. Nothing is saved and no backup is made. Required: module_id, template_id, content or html_content or code_search. Optional: code_paste."
+ },
+ {
+ "const": "list_backups",
+ "description": "Lists template backups. Optional: offset."
+ },
+ {
+ "const": "get_reference",
+ "description": "Returns the template variables reference (markdown)."
+ },
+ {
+ "const": "get_guide",
+ "description": "Returns the template editing guide (markdown)."
+ },
+ {
+ "const": "get_backup_guide",
+ "description": "Returns the template backup guide (markdown)."
+ },
+ {
+ "const": "menu_list",
+ "description": "Lists site menus. Optional: offset."
+ },
+ {
+ "const": "menu_get",
+ "description": "Returns one menu with its items. Required: menu_id."
+ },
+ {
+ "const": "mail_list_forms",
+ "description": "Lists mail forms. Optional: offset."
+ },
+ {
+ "const": "mail_get_form",
+ "description": "Returns one mail form. Required: mail_form_id."
+ },
+ {
+ "const": "mail_list_fields",
+ "description": "Lists the fields of a mail form. Required: mail_form_id. Optional: offset."
+ },
+ {
+ "const": "mail_get_template",
+ "description": "Returns the notification email template of a mail form. Required: mail_form_id."
+ },
+ {
+ "const": "page_list",
+ "description": "Lists site pages a page at a time. Brief pages by default, without their content; detail=full gives complete pages, page_get one complete page. The reply has page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail, page_page, page_per_page."
+ },
+ {
+ "const": "page_get",
+ "description": "Returns one site page. Required: page_id."
+ },
+ {
+ "const": "informer_list",
+ "description": "Lists the informers of the site in id order, a page at a time: brief informers by default (id, title, module, data_type, code, the code that shows it in a template, and manageable), detail=full adds their settings; informer_get gives the template. Informers of every kind are listed, but MCP creates and changes only news and blog ones. manageable is true when informer_update can change the informer, false for the other kinds: they are changed in the site control panel and can be deleted here. The reply has limit (the most informers the site may have), page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail."
+ },
+ {
+ "const": "informer_get",
+ "description": "Returns one informer: its settings, template (null when it has none), template_custom (false: the default template), template_codes (the codes the template may use), code (put it into a site template to show the informer), script_url (src of a script tag for another site) and manageable (true when informer_update can change the informer: news and blog informers; false for other kinds). Required: informer_id."
+ }
+]
changedInput schema / properties / detail / description
Previous value: -"Record form of a paged list. brief (default): for site pages id, title, status, parent id, public URL, last change and a plain-text excerpt up to 200 characters. Titles and excerpts are plain text; names, logins, paths, URLs and other identifiers are as the source gives them. full: complete records. A list reply is at most 30 KB and holds every record of its page: a record that does not fit in full comes in brief form, marked detail brief, the reply counts such records in brief_records, and get by id returns the complete record; brief records shorten their excerpts, then keep only their ids and titles. Only a page that does not fit even so is cut: truncated is true and next names the offset to go on from."New value: +"Record form of a paged list. brief (default): for site pages id, title, status, parent id, public URL, last change and a plain-text excerpt up to 200 characters; for informers id, title, module, data type, the code that shows the informer in a template and manageable. Titles and excerpts are plain text; names, logins, paths, URLs and other identifiers are as the source gives them. full: complete records. A list reply is at most 30 KB and holds every record of its page: a record that does not fit in full comes in brief form, marked detail brief, the reply counts such records in brief_records, and get by id returns the complete record; brief records shorten their excerpts, then keep only their ids and titles. Only a page that does not fit even so is cut: truncated is true and next names the offset to go on from."