Version: 202201
Get Page Details
GET/openapi/2022-01/pages/:id
Retrieve details of a specific page using its unique identifier.
Request
Path Parameters
id stringrequired
Page's ID
Responses
- 200
- 404
- 422
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
}
}
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"page not found"
]
}
{
"errors": [
"page not found"
]
}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"id params err"
]
}
{
"errors": [
"id params err"
]
}