**版本：202201**

# 查询自定义页面详情

**GET** `/openapi/2022-01/pages/:id`

通过自定义页面 ID 获取指定自定义页面的详情。

## 请求

**Path参数**

- `id` string (required)

  唯一标识。

## 响应

**200 | 404 | 422**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `page` object

  - `id` integer

    **默认值：** `0`

    **示例：** `15979`
  - `title` string

    **示例：** `Test`
  - `content` string

    **示例：** `<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` integer

    **默认值：** `0`

    **示例：** `1`
  - `created_at` string

    **示例：** `1714377813`
  - `updated_at` string

    **示例：** `1714377813`
  - `url` string

    **示例：** `/pages/test1`
  - `meta_title` string

    **示例：** `Test`
  - `meta_keyword` string

    **示例：**
  - `meta_description` string

    **示例：** `\n\n\n1\n2\n3\n4\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n`
  - `independent_seo` boolean

    **默认值：** `true`

    **示例：** `false`

```json
{
  "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
  }
}
```

```json
{
  "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**

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "page not found"
  ]
}
```

```json
{
  "errors": [
    "page not found"
  ]
}
```

422

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "id params err"
  ]
}
```

```json
{
  "errors": [
    "id params err"
  ]
}
```
