Import Interface
The import interface is only for document import use, the calling content of mini-program, next.js does not use the import interface. Instead, use other interfaces.
-
Document Import Interface
Import document content in batches via the API interface, supporting the import of complete information such as document title, content, category, keywords, thumbnail, etc., and enabling batch migration and publishing 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. The document title, content, and category ID must be provided. Custom URL alias, keywords, description, thumbnail, and complete document information are supported. Document group image upload is supported, up to 9 images can be set, and the document publication time can be set. -
Document Classification Interface
Retrieve all document category information in the system, supporting filtering by module type (article or product), used for content import or classification management function. Notes The interface uses the GET method, an effective background import interface Token is required for authentication, the module ID must be specified to obtain the corresponding category type, supports obtaining article categories and product categories, the returned category information includes hierarchical relationships (distinguished by parent_id), request address {domain address}/api/import/categories -
Add friend link interface
Add a new friendship link to the system, supporting the setting of nofollow attributes, backlink information, contact information, and other detailed information. Notes: This interface uses the POST method, submits data in form-data format, requires a valid background import interface Token for authentication, at least two required parameters of title and link are provided, supports setting nofollow attributes, which is helpful for SEO optimization, and can record backlink information, contact information, and remarks. Request address {domain address}/api/friendlink/create -
Delete Friendship Link Interface
Delete the specified friend link record from the system, identify the friend link to be deleted by the link address.Note: This interface uses the POST method, submits data in form-data format, requires a valid backend import interface Token for authentication, must provide the URL of the friend link to be deleted. The delete operation is irreversible, please operate with caution. A success message will be returned after a successful deletion. Request address {domain address}/api/friendlink/delete?token={token} Explanation: {domain address} -
Manual Sitemap Update Interface
Manually trigger the system to regenerate the site map (Sitemap), supporting synchronous and asynchronous processing methods for updating search engine indexes. Notes This interface uses the POST method, submitting data in form-data format. An effective background import interface Token is required for authentication. Supports synchronous and asynchronous processing modes, asynchronous mode is suitable for sites with a large amount of content. Synchronous mode waits 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 resource interface
Import image resources into the system, supporting functions such as specifying resource categories and replacing existing resources.This interface is mainly used for image upload and management in the background content management system.Attention. This interface uses the POST method, submits data in form-data format, requires a valid backend import interface Token for authentication, supports specifying the image resource category ID, supports replacing existing image resources (specified by ID), returns detailed information and access address after upload, request address {domain address}/attachment/upload -
Check if Friendship Link is Available Interface
Used to verify whether the friendship link interface configuration is correct, check whether the Token is valid, and ensure that the friendship link function can be used normally.Notes This interface supports GET or POST methods A valid back-end import interface Token must be provided for authentication Mainly used to test the connection status of the friendship link interface No additional parameters are required, only the validity of the Token is verified Request address {domain address}/api/friendlink/check? -
Interface to Check Document Existence
Check if the specified document exists in the system, verify the existence of the document through document ID, title, URL alias, or original URL, and return the basic information of the document. Notes The interface uses the GET method, parameters are passed through URL query strings Authentication requires a valid token parameter to be provided Must provide any one of id, title, url_token, origin_url to check for the existence of the document before importing it Return the basic information of the existing document, including ID, title, and link