根据自定义响应页面的ID获取单个自定义响应页面详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:GetPage |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Id |
integer |
否 |
自定义响应页面的 ID,可通过调用 ListPages 接口获取。 |
50000001 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
36af3fcc-43d0-441c-86b1-428951dc8225 |
| UpdateTime |
string |
自定义响应页面的最后修改时间。 格式:RFC 3339 / ISO 8601,UTC 标准时区(以 Z 结尾)。 示例:2026-06-10T14:23:45Z |
2024-01-01T00:00:00Z |
| Id |
integer |
自定义响应页面的 ID,可通过调用 ListPages 接口获取。 |
50000001 |
| Name |
string |
自定义响应页面名称。 |
example |
| Description |
string |
自定义响应页面描述。 |
a custom deny page |
| Kind |
string |
自定义响应页面类型。 |
custom |
| ContentType |
string |
HTTP Header 中的 Content-Type 字段。 |
text/html |
| Content |
string |
BASE64 编码后的 Content-Type 对应的响应页面内容。 |
PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4= |
| SiteIds |
array |
绑定站点 ID 列表 |
|
|
integer |
绑定站点 ID。 |
1 |
示例
正常返回示例
JSON格式
{
"RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225 ",
"UpdateTime": "2024-01-01T00:00:00Z",
"Id": 50000001,
"Name": "example",
"Description": "a custom deny page",
"Kind": "custom",
"ContentType": "text/html",
"Content": "PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=",
"SiteIds": [
1
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameters | The specified parameters are invalid. | 参数非法。 |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。