云相册的API相簿接口ListAlbumPhotos怎么使用
描述
分批获取相簿中的照片列表
请求参数
请求示例https://cloudphoto.cn-shanghai.aliyuncs.com/?Action=ListAlbumPhotos
&AlbumId=822504789718867968
&Cursor=0
&Direction=forward
&Size=10
&State=all
&StoreName=cloudphoto-demo
&LibraryId=alice-001
&<公共请求参数>
返回参数
Results
返回示例
JSON格式
{
"TotalCount":1,
"Action":"ListAlbumPhotos",
"Message":"success",
"RequestId":"33439FC2-4729-4D74-A629-95CCF67ADA4E",
"NextCursor":"1501586905955:829177180117278720",
"Results":[
{
"State":"active",
"PhotoId":822522391505674240
}
],
"Code":"Success"
}
XML格式
<?xml version="1.0" encoding="UTF-8"?>
<ListAlbumPhotosResponse>
<Action>ListAlbumPhotos</Action>
<TotalCount>1</TotalCount>
<Message>success</Message>
<RequestId>010AA821-CE89-44BA-9861-3BDED9CF1095</RequestId>
<NextCursor>1501586905955:829177180117278720</NextCursor>
<Results>
<Result>
<State>active</State>
<PhotoId>822522391505674240</PhotoId>
</Result>
</Results>
<Code>Success</Code>
</ListAlbumPhotosResponse>
收起
云栖大讲堂
2017-10-27 10:32:12
1850
0
0
条回答
写回答
取消
提交回答