推特 阿里云技术文档正文

ListSetTags 统计媒体集内标签_SetTags 媒体集标签处理_图片管理类操作_API手册_智能媒体管理

admin 阿里云技术文档 2020-02-11 206 0
阿里云服务器优惠

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 标签名称

示例

请求示例

  1. POST https://imm.cn-shanghai.aliyuncs.com
  2. ?Action=ListSetTags
  3. &Project=test-project
  4. &SetId=test-set
  5. ...

此处的示例,目的是展示关键参数,还需要其他的公共参数才能正常调用,推荐使用 SDK 来发送 API

成功返回示例

  1. {
  2. "Tags": [
  3. {
  4. "TagCount": 2,
  5. "TagName": "内部场景"
  6. },
  7. {
  8. "TagCount": 1,
  9. "TagName": "机舱内"
  10. }
  11. ],
  12. "RequestId": "BE489BB4-3823-494D-B49A-C9626D18A599",
  13. "SetId": "test-set"
  14. }

若在使用中有疑问,请参考 FAQ,或者进入 钉钉用户群 实时交流。

版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

评论

-----