云相册的API相簿接口CreateAlbum怎么使用
描述
创建一个相簿。
请求参数
请求示例https://cloudphoto.cn-shanghai.aliyuncs.com/?Action=CreateAlbum
&AlbumName=demo-album-001
&StoreName=cloudphoto-demo
&LibraryId=alice-001
&<公共请求参数>
返回参数
Album
Cover
返回示例
JSON格式
{
"Action":"CreateAlbum",
"Message":"success",
"RequestId":"E3E781AB-8526-4FF2-A1EE-6685A0B4AA5B",
"Code":"Success",
"Album":{
"Name":"demo-album-001",
"Mtime":1500088237451000,
"State":"active",
"Id":822891310280093696,
"Ctime":1500088237451000,
"Cover":{
"Md5":"",
"Mtime":0,
"State":"",
"Height":0,
"Id":0,
"Ctime":0,
"Width":0,
"Title":"",
"FileId":"",
"Remark":""
},
"PhotosCount":0
}
}
XML格式
<?xml version="1.0" encoding="UTF-8"?>
<CreateAlbumResponse>
<Action>CreateAlbum</Action>
<Message>success</Message>
<RequestId>5355E5A1-84C2-4A63-ADF7-DDEA90BEB68F</RequestId>
<Code>Success</Code>
<Album>
<Name>demo-album-1</Name>
<Mtime>1499996267782000</Mtime>
<State>active</State>
<Cover>
<Mtime>0</Mtime>
<Md5/>
<State/>
<Height>0</Height>
<Ctime>0</Ctime>
<Id>0</Id>
<Width>0</Width>
<FileId/>
<Title/>
<Remark/>
</Cover>
<Ctime>1499996267782000</Ctime>
<Id>822505561525329920</Id>
<PhotosCount>0</PhotosCount>
</Album>
</CreateAlbumResponse>
收起
云栖大讲堂
2017-10-27 10:28:47
2372
0
0
条回答
写回答
取消
提交回答