版本:202201
查询自定义页面详情
GET/openapi/2022-01/pages/:id
通过自定义页面 ID 获取指定自定义页面的详情。
请求
Path参数
id string必填
唯一标识。
响应
- 200
- 404
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
page object
idinteger
默认值:
0示例:
15979titlestring
示例:
Testcontentstring
示例:
<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
默认值:
0示例:
1created_atstring
示例:
1714377813updated_atstring
示例:
1714377813urlstring
示例:
/pages/test1meta_titlestring
示例:
Testmeta_keywordstring
示例:
meta_descriptionstring
示例:
\n\n\n1\n2\n3\n4\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nindependent_seoboolean
默认值:
true示例:
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
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"page not found"
]
}
{
"errors": [
"page not found"
]
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"id params err"
]
}
{
"errors": [
"id params err"
]
}