Document Interface
The AnqiCMS document API supports the following interfaces for calling: document import interface, document list retrieval interface, document detail retrieval interface, previous document retrieval interface, next document retrieval interface, document parameter filtering condition retrieval interface, document parameter retrieval 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 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 -
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