Anqi CMS API Help
AnqiCMS supports API interface calls for data retrieval, including: document interface, document tag interface, category page interface, and other commonly used interfaces
-
Import Document Interface
API call address {domain address}/api/import/archive?token={token} Description: {domain_address} needs to be replaced with your domain address, {token} needs to be replaced with the Token from the background content import interface function, such as /api/import/archive? -
Get Document List Interface
API call address {domain address}/api/archive/listDescription: {domain address} needs to be replaced with your domain address, such as /api/archive/list API call method GETRequest parameters Field name Type Required Description id int Yes Document ID, when getting type=related, moduleId needs to be specified in -
Get Document Details Interface
API call address {domain address}/api/archive/detailDescription: {domain address} needs to be replaced with your domain address, such as /api/archive/detailCall method GETRequest parameters Field name Type Required Description id int Yes Document ID, if filename is provided, ID can be omitted filename st -
Get Previous Document Interface
API call address {domain address}/api/archive/prev Description: {domain address} needs to be replaced with your domain address, such as /api/archive/prev Call method: GET Request parameters: Field name Type Required Description id int Yes Document ID Response parameters: Field name Type Description code int Error code msg string Message -
Get the next document interface
API call address {domain address}/api/archive/next Description: {domain address} needs to be replaced with your domain address, such as /api/archive/next Request method GET Request parameters Field name Type Required Description id int Document ID Response parameters Field name Type Description code int Error code msg string Message -
Get document parameter filtering conditions interface
API call address {domain address}/api/archive/filtersDescription: {domain address} needs to be replaced with your domain address, such as /api/archive/filtersCall method GETRequest parameters Field name Type Required Description moduleId int Model IDcode int -
Get document parameters interface
API call address {domain address}/api/archive/params Description: {domain address} needs to be replaced with your domain address, such as /api/archive/params Call method GET request parameters Field name Type Required Description id int No Parameter is obtained according to the document id sorted int No The supported values are -
Get Tag List Interface
API call address {domain address}/api/tag/list Description: {domain address} needs to be replaced with your domain address, such as /api/tag/list Call method GET Request parameters Field name Type Required Description itemId int No Document ID, read the Tag list of the specified document. If not specified, read all tags letter string -
Get Tag Details Interface
API call address {domain address}/api/tag/detail Description: {domain address} needs to be replaced with your domain address, such as /api/tag/detail Request method GET Request parameters Field name Type Required Description id int Yes Tag ID, if filename is transmitted, ID does not need to be transmitted filename string No -
Get Tag Document List Interface
API call address {domain address}/api/tag/data/list Description: {domain address} needs to be replaced with your domain address, such as /api/tag/data/list Call method GET Request parameters Field name Type Required Description id int Yes Tag ID, if filename is transmitted, ID does not need to be transmitted filename str -
Get Document Category Interface
API call address {domain address}/api/import/categories?token={token} explanation: {domain_address} needs to be replaced with your domain address, {token} needs to be replaced with the Token from the backend content import interface, such as /api/import/categories? -
Get Category List Interface
API call address {domain address}/api/category/listDescription: Replace {domain address} with your domain address, such as /api/category/list API method GETRequest parameters Field name Type Required Description moduleId int No Model ID, can obtain the category list of the specified document model such as moduleId="1" -
Get Category Details Interface
API call address {domain address}/api/category/detail Description: {domain address} needs to be replaced with your domain address, such as /api/category/detail Call method GET Request parameters Field name Type Required Description id int Yes Category ID, if filename is provided, ID is not required filename -
Get Single Page Details Interface
API call address {domain address}/api/page/detail Description: {domain address} needs to be replaced with your domain address, such as /api/page/detail Call method GET Request parameters Field name Type Required Description id int Yes Single page ID, if filename is transmitted, ID can be omitted filename string No -
Get Single Page List Interface
API call address {domain address}/api/page/list Description: {domain address} needs to be replaced with your domain address, such as /api/page/list Call method: GET Request parameters: None Return parameters: Field name Type Description code int Error code msg string Error reason description data object[] Result content da -
Add Friendship Link Interface
API call address {domain address}/api/friendlink/create?token={token} explanation: {domain address} needs to be replaced with your domain address, {token} needs to be replaced with the Token from the background content import interface feature, such as /api/friendlink/create? -
Delete Friendship Link Interface
API call address {domain address}/api/friendlink/delete?token={token} description: {domain_address} needs to be replaced with your domain address, {token} needs to be replaced with the Token from the background content import interface feature, such as /api/friendlink/delete? -
Get Friendship Link List Interface
API call address {domain address}/api/friendlink/list Description: {domain address} needs to be replaced with your domain address, such as /api/friendlink/list Call method GET Request parameters None Return parameters Field name Type Description code int Error code msg string Error reason description data obje -
Get Comment List Interface
API call address {domain address}/api/comment/list Description: {domain address} needs to be replaced with your domain address, such as /api/comment/list API method GET Request parameters Field name Type Required Description id int No Document ID, the specified document ID order string No Comment sorting, default id desc -
Post Comment Interface
API call address {domain address}/api/comment/publish Description: {domain address} needs to be replaced with your domain address, such as /api/comment/publish Call method POST Request parameters Field name Type Required Description archive_id int Yes Comment document ID u -
Like Comment Interface
API call address {domain address}/api/comment/praise Explanation: {domain address} needs to be replaced with your domain address, such as /api/comment/praise Call method: POST Request parameters Field name Type Required Explanation id int Yes Comment ID Return parameters Field name Type Explanation -
Interface to get the message form field
API call address {domain address}/api/guestbook/fields Description: {domain address} needs to be replaced with your domain address, such as /api/guestbook/fields Call method GET Request parameters None Return parameters field name type Description code int Error code msg string Error cause description data ob }] -
Interface to add a message
-
Interface to get the system settings
API call address {domain address}/api/setting/systemDescription: {domain address} needs to be replaced with your domain address, such as /api/setting/systemCall method GETRequest parameters NoneReturn parametersField name Type Descriptioncode int Error codemsg string Error reason descriptiondata object }] -
Interface to get the contact information
API call address {domain address}/api/setting/contactDescription: {domain address} needs to be replaced with your domain address, such as /api/setting/contactCall method GETRequest parameters NoneReturn parametersField name Type Descriptioncode int Error codemsg string Error reason descriptiondata obje -
Interface to get the navigation list
API call address {domain address}/nav/list Description: Replace {domain address} with your domain address, such as /api/nav/list Call method GET Request parameters Field name Type Required Description typeId int Yes Navigation type, default: 1 Return parameters Field name Type Description code int Error code msg string -
Upload image resource interface
API call address {domain address}/api/attachment/uploadInstructions: {domain address} needs to be replaced with your domain address, such as /api/attachment/uploadCall method POST Request parameters Field name Type Required Description category_id int No Image resource category ID id -
Invoke graphic captcha interface
API call address {domain address}/api/captcha Description: {domain address} needs to be replaced with your domain address, such as /api/captcha Call method: GET Request parameters: None Return parameters: Field name Type Description code int Error code msg string Error reason description data object Captcha content dat -
Document release interface
API call address {domain address}/api/archive/publish Note: {domain address} needs to be replaced with your domain address, such as /api/archive/publish Call method POST Content-Type application/ Request parameters Field name Type Required Note title string Yes Document title cont -
Check if the specified document has paid interface
-
Verify Document Password Interface
-
Get home page banner list interface
-
Login interface
-
Get Model List Interface
-
Get Model Details Interface
-
Get user's receiving address interface
-
Save User's Delivery Address Interface
-
Cancel Order Interface
-
Create Order Interface
-
Get Order Details Interface
-
Confirm Order Delivery Interface
-
Order creation and payment interface
-
Order refund application interface
-
Get order list interface
-
Check if order is paid interface
-
Registration interface
-
Get Distributor Earnings List Interface
-
Get Distributor Details Interface
-
Get Distributor Team List Interface
-
Get Distributor Order List Interface
-
Get Distributor Statistics Information Interface
-
Get interface for obtaining the real name of distributors
-
Get interface for applying for withdrawal
-
Get interface for withdrawal list
-
Get interface for home page TDK
-
Get interface for user details
-
Update User Information Interface
-
Get User Group Details Interface
-
Get User Group List Interface
-
Modify User Password Interface
-
Generate Mini Program Code Interface
-
WeChat Official Account Service Address Interface
-
WeChat Official Authorization Interface
-
Manual Update Sitemap Interface
API Call Address {Domain Address} /api/import/sitemap?token= { token} Description: {domain address} Needs to be replaced with your domain address, {token} Needs to be replaced with the Token from the background content import interface function, such as https://en.anqicms.com/api/import/sitemap? -
Import Image Resource Interface
API call address {domain address}/attachment/upload?token={token} Description: {domain_address} Replace it with your domain address, such as https://en.anqicms.com/attachment/upload?