云相册的API人脸接口ListFacePhotos怎么使用
描述
分批列出包含该人脸的照片
请求参数
请求示例https://cloudphoto.cn-shanghai.aliyuncs.com/?Action=ListFacePhotos
&Cursor=0
&Direction=forward
&FaceId=824116397045981184
&Size=1
&State=active
&StoreName=cloudphoto-demo
&LibraryId=alice-001
&<公共请求参数>
返回参数
Results
返回示例
JSON格式
{
"TotalCount":1,
"Action":"ListFacePhotos",
"Message":"success",
"RequestId":"C7535E87-F546-4DE1-A53F-266BC5E6E7EA",
"NextCursor":"1500628852200:824117121146429440",
"Results":[
{
"State":"active",
"PhotoId":824117117514162176
}
],
"Code":"Success"
}
XML格式
<?xml version="1.0" encoding="UTF-8"?>
<ListFacePhotosResponse>
<Action>ListFacePhotos</Action>
<TotalCount>1</TotalCount>
<Message>success</Message>
<RequestId>D3BF1878-7759-4054-88BC-50876E5B20DA</RequestId>
<NextCursor>1500628852200:824117121146429440</NextCursor>
<Results>
<Result>
<State>active</State>
<PhotoId>824117117514162176</PhotoId>
</Result>
</Results>
<Code>Success</Code>
</ListFacePhotosResponse>
收起
云栖大讲堂
2017-10-27 10:51:51
1917
0
0
条回答
写回答
取消
提交回答