Queries Object Storage Service (OSS) buckets.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BucketName | string | No | The name of the bucket. | iboxpublic**** |
Lang | string | No | The language of the content in the request and response. Default value: zh. Valid values:
| en |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
"Data": [
{
"BucketName": "iboxpublic****",
"Support": true,
"Message": "Unsupported Region.",
"StorageClass": "Standard",
"RegionId": "cn-hangzhou",
"SupportConfig": "true"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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 response structure of the API has changed | see changesets | ||||||||
|