You can call this operation to query buckets.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request headers

This operation uses common request headers, instead of special request headers. For more information, see the "Common request headers" section in "Common request and response headers."

Request syntax

GET /pop/v1/wam/storage HTTP/1.1

Request parameters

Response parameters

Parameter Type Example Description
Code String OK

The response code. The value is OK if the request is successful.

Message String success

The response message. The value is success if the request is successful.

RequestId String 49C3DE38-ABA2-4369-BED2-CBD1D**********

The ID of the request.

Storage

The information about the bucket.

BucketName String webplus-cn-shenzhen-s-5d01fab421e*****121*****

The name of the bucket.

CreateTime Long 1560410804957

The time when the bucket was created.

UpdateTime Long 1560410804957

The time when the bucket was last updated.

Examples

Sample request


http://webplus.cn-hangzhou.aliyuncs.com/pop/v1/wam/storage&<Common request parameters>

Sample success response

XML format

<DescribeStorageResponse>
    <Storage>
        <BucketName>webplus-cn-shenzhen-s-5d01f**********812105691</BucketName>
        <CreateTime>1560410804957</CreateTime>
        <UpdateTime>1560410804957</UpdateTime>
    </Storage>
    <Message>success</Message>
    <RequestId>F4558EDF-7AF1-45FF-A65A-454*****1C3E</RequestId>
    <Code>OK</Code>
</DescribeStorageResponse>

JSON format

{
	"Storage":{
		"BucketName":"webplus-cn-shenzhen-s-5d01fab**********2105691",
		"CreateTime":1560410804957,
		"UpdateTime":1560410804957
	},
	"Message":"success",
	"RequestId":"76818DD9-BBD6-4E66-9D23-2ED8**********914",
	"Code":"OK"
}

Error codes

For more information about error codes, see API Error Center.