Document Tag Interface
The AnqiCMS document tag API supports calls such as the tag list interface, tag detail interface, and tag document list interface
-
Get Tag List Interface
Get the list of tags on the website, supporting retrieval of specific document tags by document ID, alphabetical filtering, and pagination queries. Notes: The interface uses the GET method to retrieve the complete list of tags or tags of specified documents. Supports alphabetical filtering of tags, supports pagination queries, can specify the number of items per page and page number, supports different return types (list or pagination), and returns basic information and SEO-related information of tags. Request address {domain address}/api/tag/list Notes: {domain address} needs to be replaced with your domain address, such as -
Get Tag Detail Interface
Get detailed information about a specified tag, including the tag name, SEO information, link address, and other basic information. Notes: The interface uses the GET method and requires the tag ID or tag URL alias (filename) to specify the tag to be queried. Either the tag ID or the URL alias can be provided, but not both. If the filename parameter is provided, the ID does not need to be transmitted. Return the basic information and SEO-related information of the tag, which can be used for setting page titles, keywords, and descriptions. Request address {domain address}/api/tag/detail Note: {domain address} -
Get Tag Document List Interface
Retrieve the list of documents related to a specified tag, supporting various sorting methods and pagination queries. Notes The interface uses the GET method and requires the tag ID or URL alias (filename) to specify the query tag Supports various sorting methods, and different sorting fields can be selected as needed Supports pagination queries, where the number of items per page and page number can be specified Supports retrieving data in various ways (pagination, list, related documents, etc.) Returns basic and extended information about the documents Request address {domain address}/api/tag/data/list Note