描述
获取已创建的PhotoStore的列表
请求参数
请求示例https://cloudphoto.cn-shanghai.aliyuncs.com/?Action=ListPhotoStores
&<公共请求参数>
返回参数
PhotoStores
Buckets
返回示例
JSON格式
{
"Action":"ListPhotoStores",
"Message":"success",
"RequestId":"EF2C0958-E3D3-470B-A138-2DEAFEAE1CBE",
"Code":"Success",
"PhotoStores":[
{
"Name":"cloudphoto-demo",
"Mtime":1499930072000,
"Id":822227915239337984,
"Ctime":1499930072000,
"Buckets":[
{
"Name":"cloudphoto-demo",
"Region":"cn-shanghai",
"State":"active"
}
],
"Remark":"this photostore is for demo purpose only.",
"DefaultQuota":0
},
{
"Name":"fannong-0707",
"Mtime":1499406806000,
"Id":820033178730246144,
"Ctime":1499406806000,
"Buckets":[
{
"Name":"django-storage-sh",
"Region":"cn-shanghai",
"State":"active"
}
],
"Remark":"这个PhotoStore是从django-storage这个账号里面建立的。",
"DefaultQuota":0
}
]
}
XML格式
<?xml version="1.0" encoding="UTF-8"?>
<ListPhotoStoresResponse>
<Action>ListPhotoStores</Action>
<Message>success</Message>
<RequestId>E71E2764-3B22-4055-BB9A-BE71A547BA52</RequestId>
<PhotoStores>
<PhotoStore>
<Name>cloudphoto-demo</Name>
<Mtime>1499930072000</Mtime>
<Ctime>1499930072000</Ctime>
<Id>822227915239337984</Id>
<Buckets>
<Bucket>
<Name>cloudphoto-demo</Name>
<Region>cn-shanghai</Region>
<State>active</State>
</Bucket>
</Buckets>
<Remark>this photostore is for demo purpose only.</Remark>
<DefaultQuota>0</DefaultQuota>
</PhotoStore>
<PhotoStore>
<Name>fannong-0707</Name>
<Mtime>1499406806000</Mtime>
<Ctime>1499406806000</Ctime>
<Id>820033178730246144</Id>
<Buckets>
<Bucket>
<Name>django-storage-sh</Name>
<Region>cn-shanghai</Region>
<State>active</State>
</Bucket>
</Buckets>
<Remark><![CDATA[这个PhotoStore是从django-storage这个账号里面建立的。]]></Remark>
<DefaultQuota>0</DefaultQuota>
</PhotoStore>
</PhotoStores>
<Code>Success</Code>
</ListPhotoStoresResponse>