Version: 202201
Create Page
POST/openapi/2022-01/pages
Create a new page with the provided details.
Request
- application/json
- Body
- Example
Body
titlestringrequired
The title of the page.
contentstring
Page content
urlstring
The url of the page.
meta_titlestring
The SEO title of the page.
meta_keywordstring
The SEO keyword of the page.
meta_descriptionstring
The SEO description of the page.
independent_seoboolean
Decide whether the seo title is edited independently.
{
"title": "string",
"content": "string",
"url": "string",
"meta_title": "string",
"meta_keyword": "string",
"meta_description": "string",
"independent_seo": true
}
Responses
- 200
200
- application/json
- Schema
- Example
- Result
Schema
page object
idinteger
Default value:
0Example:
15979titlestring
Example:
Testcontentstring
Example:
<table border=\"1\" style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 25%;\">1</td>\n<td style=\"width: 25%;\">2</td>\n<td style=\"width: 25%;\">3</td>\n<td style=\"width: 25%;\">4</td>\n</tr>\n<tr>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n</tr>\n<tr>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n<td style=\"width: 25%;\"></td>\n</tr>\n</tbody>\n</table>statusinteger
Default value:
0Example:
1created_atstring
Example:
1714377813updated_atstring
Example:
1714377813urlstring
Example:
/pages/test1meta_titlestring
Example:
Testmeta_keywordstring
Example:
meta_descriptionstring
Example:
\n\n\n1\n2\n3\n4\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nindependent_seoboolean
Default value:
trueExample:
false{
"page": {
"id": 15979,
"title": "Test",
"content": "<table border=\\\"1\\\" style=\\\"width: 100%;\\\">\\n<tbody>\\n<tr>\\n<td style=\\\"width: 25%;\\\">1</td>\\n<td style=\\\"width: 25%;\\\">2</td>\\n<td style=\\\"width: 25%;\\\">3</td>\\n<td style=\\\"width: 25%;\\\">4</td>\\n</tr>\\n<tr>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n</tr>\\n<tr>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n</tr>\\n</tbody>\\n</table>",
"status": 1,
"created_at": "1714377813",
"updated_at": "1714377813",
"url": "/pages/test1",
"meta_title": "Test",
"meta_keyword": "",
"meta_description": "\\n\\n\\n1\\n2\\n3\\n4\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n",
"independent_seo": false
}
}
{
"page": {
"id": 15979,
"title": "Test",
"content": "<table border=\\\"1\\\" style=\\\"width: 100%;\\\">\\n<tbody>\\n<tr>\\n<td style=\\\"width: 25%;\\\">1</td>\\n<td style=\\\"width: 25%;\\\">2</td>\\n<td style=\\\"width: 25%;\\\">3</td>\\n<td style=\\\"width: 25%;\\\">4</td>\\n</tr>\\n<tr>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n</tr>\\n<tr>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n<td style=\\\"width: 25%;\\\"></td>\\n</tr>\\n</tbody>\\n</table>",
"status": 1,
"created_at": "1714377813",
"updated_at": "1714377813",
"url": "/pages/test1",
"meta_title": "Test",
"meta_keyword": "",
"meta_description": "\\n\\n\\n1\\n2\\n3\\n4\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n",
"independent_seo": false
}
}