Queries custom web directories for security alerts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeWebPath |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The alert configuration type. Valid values:
|
web_path |
| CurrentPage |
integer |
No |
The page number of the current page in a paged query. Paging is used to display results. |
1 |
| PageSize |
integer |
No |
The maximum number of entries per page in a paged query. Paging is used to display results. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CurrentPage |
integer |
The page number of the current page in a paged query. Paging is used to display results. |
1 |
| PageSize |
integer |
The maximum number of entries per page in a paged query. Paging is used to display results. |
20 |
| RequestId |
string |
The ID of the request. The China Chinese Cloud generates a unique identifier for each request, which can be used for troubleshooting and diagnostics. |
B37C9052-A73E-4707-A024-92477028**** |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| Count |
integer |
The number of entries on the current page. |
2 |
| ConfigList |
array<object> |
The list of web paths. |
|
|
array<object> |
The web directory. |
||
| WebPath |
string |
The web directory. |
/root/www**** |
| WebPathType |
string |
The type of the web path. Valid values:
|
def |
| TargetList |
array<object> |
The list of servers on which the web directory takes effect. |
|
|
object |
The web directory. |
||
| Target |
string |
The object. |
82048187-bb9b-4e19-8320-7b4ddb97**** |
| TargetType |
string |
The object type. Valid values:
|
uuid |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"PageSize": 20,
"RequestId": "B37C9052-A73E-4707-A024-92477028****",
"TotalCount": 2,
"Count": 2,
"ConfigList": [
{
"WebPath": "/root/www****",
"WebPathType": "def",
"TargetList": [
{
"Target": "82048187-bb9b-4e19-8320-7b4ddb97****",
"TargetType": "uuid"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.