Import Interface
The import interface is only applicable for document import usage, the content called by mini programs and next.js does not use the import interface. Instead, it uses other interfaces.
-
Import Document Interface
Batch import document content through API interface, supporting the import of complete information such as document title, content, category, keywords, thumbnails, etc., enabling batch migration and publication of content. Notes The interface uses the POST method and submits data in form-data format An effective token parameter must be provided in the URL for authentication Document title, content, and category ID must be provided Support custom URL alias, keywords, description, thumbnail, and other complete document information Support the upload of document group images, up to 9 images can be set The document publication time can be set }] -
Get Document Category Interface
Retrieve all document category information in the system, supporting filtering by module type (article or product), for content import or classification management functions. Notes This interface uses the GET method and requires a valid backend import interface Token for authentication. It must specify the module ID to get the corresponding category type. Supports retrieval of article categories and product categories. The returned category information includes hierarchical relationships (distinguished by parent_id). Request address {domain address}/api/import/categories -
Add Friendship Link Interface
Add a new friend link to the system, supporting setting the nofollow attribute, backlink information, contact details, etc. Notes This interface uses the POST method and submits data in form-data format. An effective backend import interface Token is required for authentication. At least the title and link must be provided as required parameters. Setting the nofollow attribute is helpful for SEO optimization. It can record backlink information, contact details, and remark information. Request URL {domain address}/api/friendlink/create -
Delete Friend Link Interface
Delete the specified friend link record from the system, identifying the friend link to be deleted by the link address.Notice The interface uses POST method, data is submitted in form-data format An effective backend import interface Token must be provided for authentication The address of the friend link to be deleted must be provided The delete operation is irreversible, please operate with caution A success message will be returned after a successful deletion Request URL {domain_address}/api/friendlink/delete? -
Manually Update Sitemap Interface
Manually trigger the system to regenerate the site map (Sitemap), supporting both synchronous and asynchronous processing methods, used to update the search engine index. [en] Note: This interface uses the POST method, and data is submitted in form-data format. An effective background import interface Token is required for authentication. It supports both synchronous and asynchronous processing modes, with asynchronous mode suitable for sites with a large amount of content. Synchronous mode will wait for the Sitemap generation to complete before returning the result. Asynchronous mode returns the processing result immediately, and the background continues to execute the generation task. Request address -
Import Image Resources Interface
Import image resources into the system, supporting functions such as specifying resource categories, replacing existing resources, and more.This interface is mainly used for image upload and management in the background content management system. -
Check if Friend Link is Available Interface
Used to verify whether the interface configuration of the friendship link is correct, check if the Token is valid, and ensure that the friendship link function can be used normally.Notice The interface supports GET or POST methods Requires an effective backend import interface Token for authentication Mainly used to test the connection status of the friend link interface No additional parameters are required, only the validity of the Token is verified Request address {domain address}/api/friendlink/check? -
Check if Document Exists Interface
Check if the specified document already exists in the system, verify the existence of the document by document ID, title, URL alias, or original URL, and return the basic information of the document. Notes This interface uses the GET method, and parameters are passed through URL query strings. An effective token parameter must be provided for authentication. Any one of the parameters id, title, url_token, origin_url must be provided to check for the existence of the document before importing. Returns basic information of the existing document, including ID, title, and link