ListSetTags 统计媒体集内标签
描述
获取媒体集 Set 内 Top 100 的标签列表,按标签出现次数降序排列。
请求参数
Parameter | Type | Required | Comment |
---|---|---|---|
Project | string | Y | Project 名称。 |
SetId | string | Y | 媒体集 Set 的唯一标识。 |
返回参数
Parameter | Type | Comment |
---|---|---|
RequestId | string | 该次请求的唯一识别码。 |
SetId | string | 媒体集 Set 的唯一标识。 |
Tags | []TagCountData | 搜索到的图片详细信息数组。 |
数据类型 TagCountData
Parameter | Type | Comment |
---|---|---|
TagCount | int | 该标签出现次数 |
TagName | string | 标签名称 |
示例
请求示例
POST https://imm.cn-shanghai.aliyuncs.com
?Action=ListSetTags
&Project=test-project
&SetId=test-set
...
此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送 API。
成功返回示例
{
"Tags": [
{
"TagCount": 2,
"TagName": "内部场景"
},
{
"TagCount": 1,
"TagName": "机舱内"
}
],
"RequestId": "BE489BB4-3823-494D-B49A-C9626D18A599",
"SetId": "test-set"
}
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。
评论