Document interface
The AnqiCMS document API interface supports calls: importing document interface, obtaining document list interface, obtaining document details interface, obtaining previous document interface, obtaining next document interface, obtaining document parameter filtering interface, obtaining document parameter interface
-
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 in the background content import interface function, such as /api/import/archive?token=xxx Call method POST form-d -
Get the document list interface
API call address {domain address}/api/archive/list description: {domain address} needs to be replaced with your domain address, such as /api/archive/list call method GET request parameter Field name Type Required Description id int No Document ID, when you want to obtain type=related, moduleId needs to be specified -
Get document details interface
API call address {domain address}/api/archive/detail Description: {domain address} It needs to be replaced with your domain address, such as /api/archive/detail Call method GET request parameters Field name Type Required Description id int Yes Document ID, if filename is passed, you do not need to pass the ID filename st -
Get the previous document interface
API call address {domain address}/api/archive/prev Description: {domain address} It needs to be replaced with your domain address, such as /api/archive/prev Call method GET request parameter Field name Type Required Description id int Yes Document ID Return parameter Field name Type Description code int Error code msg stri -
Get the next document interface
API call address {domain address}/api/archive/next Description: {domain address} It needs to be replaced with your domain address, such as /api/archive/next Call method GET request parameter Field name Type Required Description id int Yes Document ID Return parameter Field name Type Description code int Error code msg stri -
Get document parameter filtering interface
API call address {domain address}/api/archive/filters Description: {domain address} It needs to be replaced with your domain address, such as /api/archive/filters Call method GET request parameter Field name Type Required Description moduleId int Yes Model ID Return parameter Field name Type Description code int -
Get document parameters interface
API call address {domain address}/api/archive/params Description: {domain address} It needs to be replaced with your domain address, such as /api/archive/params Call method GET request parameter Field name Type Required Description id int No Parameters obtain the specified document parameters based on the document id sorted int No Supported values are -
Document publishing interface
API call address {domain address}/api/archive/publish Description: {domain address} needs to be replaced with your domain address, such as /api/archive/publish Call method POST application/json Request parameters Field name Type Required Description title string Yes Document title cont -
Check if the specified document has paid for the interface
API call address { Domain address} /api/archive/order/check Description: { Domain address} needs to be replaced with your domain address, such as https://en.anqicms.com/api/archive/order/check Call method GET Request parameters Field name Type Required Description id int Yes Document ID Return parameter Field name Type Description code int Error code msg string -
Verify document password interface
API call address { Domain address} /api/archive/password/check Description: { Domain address} needs to be replaced with your domain address, such as https://en.anqicms.com/api/archive/password/check Call method POST Request parameters Field name Type Required Description id int Yes Document ID password string Yes Entered password Return parameter Field name