Deprecated, add post: 添加 貼文 資料 05-19 16:44
Deprecated, add post: 添加 貼文 資料
更新時間:2022-05-19 16:44:39
HTTP Request
POST: manager/post/add
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
data | object | required | |
content | string | required | posts.name |
Response Structure
Parameter | Type | Status | Description |
---|---|---|---|
status | int | required | 0: 成功, 非0: 失敗 |
data | object | optional | |
id | int | optional | posts.id |
Example usage
Example #1
POST: manager/post/add
Body
{
"data": {
"name": "New post",
"title_enHK": "new post",
"title_zhHK": "new post",
"title_zhCN": "new post"
}
}
Response(200,status=0)
{
"status": 0,
"data": {
"id": 3
}
}