Queries a custom error page based on the error page ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetPage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The ID of the custom error page, which can be obtained by calling the ListPages operation. |
50000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
36af3fcc-43d0-441c-86b1-428951dc8225 |
| UpdateTime |
string |
The time when the custom error page was last modified. |
2024-01-01T00:00:00Z |
| Id |
integer |
|
50000001 |
| Name |
string |
The name of the custom response page. |
example |
| Description |
string |
The description of the custom error page. |
a custom deny page |
| Kind |
string |
The type of the custom response page. |
custom |
| ContentType |
string |
The Content-Type field in the HTTP header. |
text/html |
| Content |
string |
The Base64-encoded content of the error page. The content type is specified by the Content-Type field. |
PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4= |
Examples
Success response
JSON format
{
"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="
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters | The specified parameters are invalid. | Parameter is illegal. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.