AnQiCMS Help Document and User Guide
When building a website with AnQiCMS, we often have such doubts: In addition to being able to accurately obtain the detailed information of a specific document, does the system also provide a function to obtain a list of all documents under a certain category or model at one time?The answer is affirmative. Anqi CMS fully considers the flexibility of content management and display, providing powerful interfaces to meet such needs.To retrieve the document list under a specific category or model, it mainly relies on the `/api/archive/list` interface provided by AnQi CMS
When using AnQiCMS for secondary development or integrating with external systems, you will often encounter placeholders like `{domain address}` in the API interface documentation.This represents the actual URL where your Aiqi CMS is deployed.Correctly replace this placeholder is the basis to ensure API call success and system stable operation.Understand the meaning behind it and master the precautions when replacing, which can help you interact with AnQiCMS more efficiently.Firstly, `{domain address}` is essentially a variable
When using AnQi CMS to manage website content, we often deal with API interfaces to retrieve or submit various data.Among them, image data is an indispensable part of the website content, and regarding the return form of the `images` field in the document, it sometimes causes some confusion: Does it really mean that the document has no pictures associated with it when the `images` field returns `null`?### Learn the concept of "Gallery" in Anqi CMS In the document structure of Anqi CMS, images are usually divided into several types: *
In the daily operation of Anqi CMS, we often encounter such needs: we have a visible document detail page URL on a website, such as `https://en.anqicms.com/anqicms`, and we hope to quickly obtain the complete API details of this document through programming, including its title, content, SEO information, etc.The AnQi CMS provides a very convenient and intuitive interface to meet this need.
When using AnQi CMS for website content management, we often obtain detailed document information through the `/api/archive/detail` interface.Among them, the `data.content` field carries the core content of the article.Many developers or operators who are new to the field may be curious, what does this field return, plain text or formatted rich text?Can it directly include images or videos and other multimedia content?### HTML formatted document content Based on the AnQi CMS API documentation and returned data examples
In AnQi CMS, in order to better organize and display content, we often use document models and custom fields.When you want to provide a more flexible filtering function for documents under a specific model, for example, to search based on the attributes of a document such as 'city' or 'education', you need to know how to obtain these filterable parameter fields. This is usually a two-step process: first, we need to determine the model ID of the target document (`module_id`), which is the key to connecting the document with the model definition; then
Guide to troubleshooting when the AnQiCMS document detail interface returns `code: -1` When using AnQiCMS for website content management, we often use the provided API interface to retrieve or manipulate data.When calling the document detail interface (for example, `/api/archive/detail`), if the returned result contains a `code` field of `-1`, this usually means that the request was not successful, and an error occurred during the server-side processing.In such a situation, many users may feel confused
When managing website content in AnQi CMS, we often encounter various data fields, among which the `user_id` field is a common and easily questionable identifier.When we retrieve document details from Anqi CMS, what does this `user_id` represent, the publisher or the author?To clearly understand this point, we need to analyze the data structure returned by the document interface.Firstly, from the `archiveDetail.md` document to get the API return parameters of the document details view
In Anqi CMS, content management not only covers the regular article publishing and display, but also provides flexible mechanisms to protect sensitive or exclusive content.When you need to allow users to access specific document content by entering a password, Anqicms provides a clear API interface to implement this function.This is very useful for building paid content, VIP areas, or internal material sharing scenarios.### Core Function: Document Password Verification API
When building and operating modern websites, especially when your platform involves high-quality content or exclusive resources, how to effectively manage content access permissions is a core issue.AnQiCMS (AnQiCMS) provides a powerful and flexible API interface that allows you to precisely control document viewing conditions, including determining whether a specific document requires payment and whether the user has completed the payment.We will discuss how to use the API provided by AnQiCMS to check if a specific document has been paid for before it can be viewed, ensuring that your paid content is properly protected.###