Search...
Menu

CMS import file API

Download

Import the file to the target CMS and create an article in the root directory. Only docx and md files are supported.

 

Request method Request address
POST https://api.helplook.net/api/content/add-file

Body Type: multipart/form-data

Parameters

Parameter name Type Required Description
token string Yes

Get it from the AI Integrations -> AI Token

file file Yes

Documents

Response:

{
    "data": {
        "result": {
            "name": "草稿",
            "parent_id": "0",
            "slug": "IH8Lnq",
            "id": "19633"
        }
    },
    "msg": "Success",
    "code": 200
}
Previous
Update article content API
Next
Delete Document API
Last modified: 2024-04-03Powered by