Retrieves all file types for file protection rules.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The ID is generated by Alibaba Cloud and is unique. You can use the ID to troubleshoot issues. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
| FileTypes |
array |
The protected file types. |
|
|
string |
The protected file types. |
txt |
Examples
Success response
JSON format
{
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
"FileTypes": [
"txt"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | Parameter error, please check the input parameters. |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.