components.web_page.api¶
Web page API
-
components.web_page.api.delete_by_type(page_type)¶ Delete the web pages with the given type
Parameters: page_type (int) – page type Returns: Web page
-
components.web_page.api.get(page_type)¶ Get the web page of a given type
Parameters: page_type – type of the web page Returns: web page corresponding to the given id
-
components.web_page.api.upsert(web_page)¶ Upsert the page content
Parameters: web_page (obj) – web page object Returns: content of the web page