Category Page Interface
The AnqiCMS category page API supports the following calls: get document category interface, get category list interface, get category details interface, get single page details interface, get single page list interface
-
Get Category List Interface
Retrieve the website category list data, supporting filtering by model ID, parent category, etc., and returning detailed information about the categories. -
Get Category Detail Interface
Retrieve detailed information of a specified category, supporting retrieval of category details through category ID or URL alias, returning basic information and content of the category. Notes The interface supports retrieval of category details through both category ID and URL alias (filename/catname), including common categories (type=1) and single-page categories (type=3). The returned category information includes SEO-related fields, facilitating SEO optimization. If the category does not exist, the interface will return an error code. Request address -
Retrieve single page details interface
Get the detailed information of a single page, supporting retrieval of single page content through single page ID or URL alias.Note: This interface uses the GET method, supports retrieval of single-page content through ID or filename parameters, returns complete information of the single page including title, content, SEO information, etc., and only returns published single-page content (status is 1). Request address {domain address}/api/page/detail Note: {domain address} needs to be replaced with your domain address, such as https://www.anqicms -
Get Single Page List Interface
Retrieve the list information of all single pages, return all the single page content that has been published in the system.Note that this interface uses the GET method, no request parameters are required, returns a list of all published single-page statuses, including basic information, SEO information, and content summary. Request address {domain address}/api/page/list Instructions: {domain address} Replace it with your domain address, such as https://en.anqicms.com/api/page/list Request syntax GET -
Retrieve model list interface
Retrieve information about all content models (modules) in the system, including basic information and custom fields.Attention: This interface uses the GET method, no request body data needs to be submitted, no login is required to access it, the return results include built-in system models and custom models, including custom field information of the models, request address {domain address}/api/module/list Note: {domain address} needs to be replaced with your domain address, such as https://en.anqicms.com/api/module/list -
Retrieve model details interface
Retrieve detailed information about a specified content model, including basic information and custom field configurations, for dynamic form building and content management. Notes: This interface uses the GET method to obtain model information by model ID or model URL alias. It supports retrieving detailed information about both built-in and custom models. It returns the custom field list of the model for building dynamic forms. Model information includes field types, required or not, and other configuration information. Request address {domain address}/api/module/detail Note: {domain address}