Creates a bucket check task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BucketNameList | array | Yes | The names of the buckets. | |
string | Yes | The name of the bucket. | hz-yqq-standard**** | |
ExcludeKeySuffixList | array | No | The suffixes of the objects that you do not want to check. | |
string | No | The suffix of the object that you do not want to check. | .jsp | |
ScanMode | integer | Yes | The check mode. Valid values:
| 1 |
KeySuffixList | array | No | The suffixes of the objects that you want to check. | |
string | No | The suffix of the object that you want to check. | .jsp | |
KeyPrefixList | array | No | The prefixes of the objects that you want to check. | |
string | No | The prefix of the object that you want to check. | /root | |
AllKeyPrefix | boolean | No | Whether to match all prefixes. | true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BBD75EC2-2F4F-5A7B-AA53-18724DC8****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ApiAuthExhausted | No auth count or auth count has been exhausted. | You have not purchased a quota, or the purchased quota is used up. |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-12-07 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||||||||
|