| Request method | Request address |
| GET | https://api.helplook.net/api/content/{id} |
:id article id
CURL example:
curl --location --request GET 'https://api.helplook.net/api/content/8162610' \
--header 'x-api-key: API KEY' \
--header 'Accept: */*' \
--header 'Connection: keep-alive'response:
| Parameter name | |
| id | Article ID |
| string_id | Article string id |
| status | Article status: 1-Published (online) 2-Draft (offline) |
type | Type: 1-Section 2-Article |
| id | The ID of this Q&A session (Q&A record ID) |
| name | Article/Column Name |
| slug | The article can be found at https://sitedomain/docs/:slug |
| add_time | Creation time |
| update_time | Update time |
| content | Published article content (article content seen by online visitors) |
draft_content | Unpublished or draft content |
Response example:
{
"data": {
"id": "8161504",
"string_id": "vuLVJ8",
"status": "1",
"is_del": "0",
"type": "2",
"name": "新文章名",
"slug": "11-yong-hu-xin-xi-mu-ban-s4eQ",
"add_time": "1725517672",
"update_time": "1734420390",
"content": {
"content_id": "8161504",
"content": "<h1>hello world2</h1>",
"pure_content": "hello world2",
"is_draft": "0",
"editor_type": "3",
"file_path": "",
"add_time": "1725517673",
"update_time": "1734420390"
},
"draft_content": {
"content_id": "8161504",
"content": "<h1>hello world2</h1>",
"pure_content": "hello world2",
"is_draft": "0",
"editor_type": "3",
"file_path": "",
"add_time": "1725517673",
"update_time": "1734420390"
}
},
"msg": "Success",
"code": 200
}