Update document content.
| Request method | Request address |
| POST | https://api.helplook.net/api/content/update-content |
Body Type: multipart/form-data
Parameters
| Parameter name | Type | Required | Description |
|---|---|---|---|
| token | string | Yes |
Get it from the AI Integrations -> AI Token |
| slug | string | No |
The slug is obtained through the document list API |
| id | string | No |
The id is obtained through the document list API |
| content | string | Yes |
Article content |
| is_write | int | Yes |
Whether to publish online: 1-Publish online 2-Save draft |
| editor_type | int | Yes |
Editor type: 2-markdown 3-rich text editor |
Response:
{
"data": {},
"msg": "Success",
"code": 200
}