服务端开放接口
  1. 检索
服务端开放接口
  • API调用指南
    • 01 API 调用流程
    • 02 通用参数
    • 03 通用错误码
  • 鉴权(访问令牌)
    • 01 获取访问令牌
      POST
    • 02 刷新访问令牌
      POST
  • 素材
    • 素材相关说明
    • 上传
      • 02 上传资源到云服务器
      • 01 获取上传文件临时令牌
      • 03 (case1)创建内容原子
      • 03 (case2)创建文本内容原子
      • 03 (case3)创建组合内容原子
      • 03 (case4)创建网页内容原子
      • 04 素材入库
      • 05上传附件
    • 检索
      • 素材动态格式及大小转换
      • 01 素材检索
      • 02 查询素材详情
      • 03 素材标签检索
      • 04 查询素材信息和所在组信息
      • 素材拉取
      • 回收站素材检索
    • 编辑
      • 01 素材批量编辑
      • 02 删除素材
      • 03 删除素材标签
      • 04 素材内容编辑
  • 联动打标
    • 联动打标指南
    • 01 获取已配置的关联字段
      GET
    • 02 对指定素材重新进行联动打标
      POST
    • 03 刷新标签关联关系
      POST
  • 素材组
    • 检索
      • 01 素材组检索
      • 02 获取素材组内素材链接
    • 创建
      • 01 创建素材组
    • 编辑
      • 01 删除素材组
      • 02 素材组新增素材
      • 03 素材组移除素材
  • 元数据(Metadata)
    • 检索
      • 01 查询metadata标签
        POST
      • 02 查询筛选模板元数据
        POST
      • 03 查询编辑模板元数据
        POST
    • 编辑
      • 02 删除metadata标签
      • 01 新增metadata标签
      • 03 更新metadata标签
  • 内容分发
    • 01 分发看板
      • 01 分页查询内容
      • 02 获取内容详情
      • 03 根据内容ID列表获取内容统计值
      • 04 批量查询内容详情
      • 05 查询内容区块渠道标签配置
      • 06 查询内容模块点位信息
      • 07 查询内容模块基础信息(包含导航信息)
      • 08 批量添加Portal协作者
      • 09 新增/更改 Portal
      • 10 移除Portal
      • 11 批量保存/编辑Block
      • 12 根据人群标签获取内容标签
    • 02 内容中心
      • 内容中心业务说明
      • 01 分页查询内容
      • 02 查询内容详情
    • 03 私域中心
      • 01 人群包
        • 01 查询人群包列表
        • 02 添加人群包
        • 03 修改人群包
        • 04 删除人群包
        • 05 向人群包中添加人群
        • 06 根据人群包ID查询人群信息
        • 07 根据人群包删除人群
      • 02 营销计划
        • 01 新建私域计划
        • 02 修改私域计划
        • 03 删除私域计划
      • 03 营销任务
        • 01 新建私域任务
        • 02 修改私域任务
        • 03 删除私域任务
        • 04 创建企微群发消息
      • 04 营销任务数据
        • 01 客户与内容互动数据
        • 02 群发失败原因详情
        • 03 群发转发任务报表
    • 04社媒分发
      • 获取统计数据
      • 获取热门内容
  • 消息
    • 邮件/短信
      • 01 消息统一分发
    • 小铃铛
      • 检索
        • 01 查询消息列表
      • 编辑
        • 01 新增小铃铛消息
        • 02 消息设置已读
    • 待办事项
      • 检索
        • 01 查询待办消息列表
      • 编辑
        • 01 设置待办消息为已完成
  • 租户基础信息
    • 01 查询租户配置
    • 02 租户检索
  • 用户信息
    • 用户
      • 01 用户检索
      • 02 通过邮箱/手机获取用户信息
    • 部门
      • 01 部门检索
    • 角色
      • 01 检验用户角色权限
  • 埋点
    • 01 服务端埋点上报
    • 02 客户端埋点上报
    • 03 查询埋点数据
  • 审批中心
    • 01 获取审批模板
    • 02 审批项目获取
    • 03 查询审批任务列表
    • 04 发起审批
    • 05 发起入库审批(外部)
  • 规则引擎
    • 01 匹配规则
  • 冷库归档
    • 素材组
      • 检索
        • 获取根素材组信息
        • 获取非根素材组信息
    • 素材
      • 上传
        • 上传&入库流程详解
        • 上传资源到云服务器
        • 上传资源到云服务器
        • 归档库上传
      • 检索
        • 素材查询
  • 客户端开放接口
    • 接口验签
    • 内容分发看板
      • 01 查询内容区块信息(不推荐)
      • 02 搜索内容区块中内容(不推荐)
      • 03 获取单个内容详情(不推荐)
  • 历史版本(不推荐)
    • 素材
      • 上传
        • 01 获取上传临时令牌
        • 02 创建资源
        • 03 素材入库
      • 检索
        • 01 素材检索
        • 02 查询素材详情
        • 03 查询文档类型素材的pageInfo
        • 04 查询素材名称和所在素材组
        • 05 查询素材列表
      • 编辑
        • 01 素材批量编辑
    • 素材组
      • 01 素材组检索
    • 用户
      • 01 查询用户列表
  • 日常测试
    • 晖致素材列表
  • 测试
    POST
  1. 检索

01 查询metadata标签

POST
/open-api/standard/v1/metadata/value/search
MetaData
通过字段code批量查询字段标签,可支持标签名称的模糊匹配

请求参数

Header 参数
Access-token
string 
必需
示例值:
a93108c8-006f-41f0-8d10-238f290ab84b
Token-type
string 
必需
示例值:
bearer
Content-Type
string 
必需
示例值:
application/json
x-asm-prefer-tag
string 
可选
默认值:
version-env-07
Body 参数application/json
token
string 
必需
param
object 
必需
attrCode
string 
字段名code
必需
attrValueName
string 
字段值名称
可选
支持模糊匹配
示例
{
    "token": "a93108c8-006f-41f0-8d10-238f290ab84b",
    "param": {
        "attrCode": "36da6212bbe34e1fab9f3f7efa5bc107"
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-auth.tezign.com/open-api/standard/v1/metadata/value/search' \
--header 'Access-token: a93108c8-006f-41f0-8d10-238f290ab84b' \
--header 'Token-type: bearer' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
    "token": "a93108c8-006f-41f0-8d10-238f290ab84b",
    "param": {
        "attrCode": "36da6212bbe34e1fab9f3f7efa5bc107"
    }
}'

返回响应

🟢200成功
application/json
Body
code
string 
必需
message
string 
必需
result
array [object {7}] 
必需
id
integer 
字段标签id
必需
attrValueName
string 
字段标签名称
必需
attrValueCode
string 
字段标签code
必需
attrValueTagCode
string 
必需
字段标签Tagcode
sort
integer 
排序
必需
parentId
integer 
父级ID
必需
children
array [object {7}] 
子级列表
必需
示例
{
    "code": "0",
    "message": "success",
    "result": [
        {
            "id": 148,
            "attrValueName": "Alpha Bounce",
            "attrValueCode": "1641462662767",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": 137,
            "children": []
        },
        {
            "id": 149,
            "attrValueName": "Clima",
            "attrValueCode": "1641462662947",
            "attrValueTagCode": "",
            "sort": 6,
            "parentId": 137,
            "children": []
        },
        {
            "id": 161,
            "attrValueName": "COPA",
            "attrValueCode": "1641462749739",
            "attrValueTagCode": "",
            "sort": 7,
            "parentId": 139,
            "children": []
        },
        {
            "id": 168,
            "attrValueName": "Damian Lillard",
            "attrValueCode": "1641462777821",
            "attrValueTagCode": "",
            "sort": 6,
            "parentId": 140,
            "children": []
        },
        {
            "id": 167,
            "attrValueName": "Derrick Rose",
            "attrValueCode": "1641462760212",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": 140,
            "children": []
        },
        {
            "id": 166,
            "attrValueName": "James Harden",
            "attrValueCode": "1641462760055",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": 140,
            "children": []
        },
        {
            "id": 159,
            "attrValueName": "Predator",
            "attrValueCode": "1641462737901",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": 139,
            "children": []
        },
        {
            "id": 147,
            "attrValueName": "Ultra BOOST",
            "attrValueCode": "1641462643461",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": 137,
            "children": []
        },
        {
            "id": 160,
            "attrValueName": "X",
            "attrValueCode": "1641462738151",
            "attrValueTagCode": "",
            "sort": 6,
            "parentId": 139,
            "children": []
        },
        {
            "id": 142,
            "attrValueName": "其他运动",
            "attrValueCode": "1641462637727",
            "attrValueTagCode": "",
            "sort": 6,
            "parentId": -1,
            "children": [
                {
                    "id": 174,
                    "attrValueName": "游泳",
                    "attrValueCode": "1641462809616",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 142,
                    "children": []
                },
                {
                    "id": 175,
                    "attrValueName": "瑜伽",
                    "attrValueCode": "1641462809893",
                    "attrValueTagCode": "",
                    "sort": 4,
                    "parentId": 142,
                    "children": []
                },
                {
                    "id": 172,
                    "attrValueName": "网球",
                    "attrValueCode": "1641462797026",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 142,
                    "children": []
                },
                {
                    "id": 176,
                    "attrValueName": "骑行",
                    "attrValueCode": "1641462810076",
                    "attrValueTagCode": "",
                    "sort": 5,
                    "parentId": 142,
                    "children": []
                },
                {
                    "id": 173,
                    "attrValueName": "高尔夫",
                    "attrValueCode": "1641462797192",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 142,
                    "children": []
                }
            ]
        },
        {
            "id": 141,
            "attrValueName": "户外",
            "attrValueCode": "1641462637569",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": -1,
            "children": [
                {
                    "id": 170,
                    "attrValueName": "户外服饰",
                    "attrValueCode": "1641462784502",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 141,
                    "children": []
                },
                {
                    "id": 169,
                    "attrValueName": "户外鞋",
                    "attrValueCode": "1641462784346",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 141,
                    "children": []
                },
                {
                    "id": 171,
                    "attrValueName": "滑雪装备",
                    "attrValueCode": "1641462784659",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 141,
                    "children": []
                }
            ]
        },
        {
            "id": 170,
            "attrValueName": "户外服饰",
            "attrValueCode": "1641462784502",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 141,
            "children": []
        },
        {
            "id": 169,
            "attrValueName": "户外鞋",
            "attrValueCode": "1641462784346",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 141,
            "children": []
        },
        {
            "id": 143,
            "attrValueName": "无",
            "attrValueCode": "9999999999999",
            "attrValueTagCode": "",
            "sort": 7,
            "parentId": -1,
            "children": []
        },
        {
            "id": 162,
            "attrValueName": "曼联",
            "attrValueCode": "1641462750889",
            "attrValueTagCode": "",
            "sort": 8,
            "parentId": 139,
            "children": []
        },
        {
            "id": 174,
            "attrValueName": "游泳",
            "attrValueCode": "1641462809616",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 142,
            "children": []
        },
        {
            "id": 171,
            "attrValueName": "滑雪装备",
            "attrValueCode": "1641462784659",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 141,
            "children": []
        },
        {
            "id": 154,
            "attrValueName": "瑜伽",
            "attrValueCode": "1641462691620",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": 138,
            "children": []
        },
        {
            "id": 175,
            "attrValueName": "瑜伽",
            "attrValueCode": "1641462809893",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": 142,
            "children": []
        },
        {
            "id": 140,
            "attrValueName": "篮球",
            "attrValueCode": "1641462626844",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": -1,
            "children": [
                {
                    "id": 168,
                    "attrValueName": "Damian Lillard",
                    "attrValueCode": "1641462777821",
                    "attrValueTagCode": "",
                    "sort": 6,
                    "parentId": 140,
                    "children": []
                },
                {
                    "id": 167,
                    "attrValueName": "Derrick Rose",
                    "attrValueCode": "1641462760212",
                    "attrValueTagCode": "",
                    "sort": 5,
                    "parentId": 140,
                    "children": []
                },
                {
                    "id": 166,
                    "attrValueName": "James Harden",
                    "attrValueCode": "1641462760055",
                    "attrValueTagCode": "",
                    "sort": 4,
                    "parentId": 140,
                    "children": []
                },
                {
                    "id": 164,
                    "attrValueName": "篮球服饰",
                    "attrValueCode": "1641462759321",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 140,
                    "children": []
                },
                {
                    "id": 163,
                    "attrValueName": "篮球鞋",
                    "attrValueCode": "1641462759169",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 140,
                    "children": []
                },
                {
                    "id": 165,
                    "attrValueName": "运动装备",
                    "attrValueCode": "1641462759517",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 140,
                    "children": []
                }
            ]
        },
        {
            "id": 164,
            "attrValueName": "篮球服饰",
            "attrValueCode": "1641462759321",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 140,
            "children": []
        },
        {
            "id": 163,
            "attrValueName": "篮球鞋",
            "attrValueCode": "1641462759169",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 140,
            "children": []
        },
        {
            "id": 172,
            "attrValueName": "网球",
            "attrValueCode": "1641462797026",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 142,
            "children": []
        },
        {
            "id": 138,
            "attrValueName": "训练",
            "attrValueCode": "1641462616090",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": -1,
            "children": [
                {
                    "id": 154,
                    "attrValueName": "瑜伽",
                    "attrValueCode": "1641462691620",
                    "attrValueTagCode": "",
                    "sort": 5,
                    "parentId": 138,
                    "children": []
                },
                {
                    "id": 151,
                    "attrValueName": "训练服饰",
                    "attrValueCode": "1641462675074",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 138,
                    "children": []
                },
                {
                    "id": 150,
                    "attrValueName": "训练鞋",
                    "attrValueCode": "1641462674973",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 138,
                    "children": []
                },
                {
                    "id": 153,
                    "attrValueName": "运动胸衣&紧身裤",
                    "attrValueCode": "1641462675308",
                    "attrValueTagCode": "",
                    "sort": 4,
                    "parentId": 138,
                    "children": []
                },
                {
                    "id": 152,
                    "attrValueName": "运动装备",
                    "attrValueCode": "1641462675185",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 138,
                    "children": []
                }
            ]
        },
        {
            "id": 151,
            "attrValueName": "训练服饰",
            "attrValueCode": "1641462675074",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 138,
            "children": []
        },
        {
            "id": 150,
            "attrValueName": "训练鞋",
            "attrValueCode": "1641462674973",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 138,
            "children": []
        },
        {
            "id": 139,
            "attrValueName": "足球",
            "attrValueCode": "1641462626691",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": -1,
            "children": [
                {
                    "id": 161,
                    "attrValueName": "COPA",
                    "attrValueCode": "1641462749739",
                    "attrValueTagCode": "",
                    "sort": 7,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 159,
                    "attrValueName": "Predator",
                    "attrValueCode": "1641462737901",
                    "attrValueTagCode": "",
                    "sort": 5,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 160,
                    "attrValueName": "X",
                    "attrValueCode": "1641462738151",
                    "attrValueTagCode": "",
                    "sort": 6,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 162,
                    "attrValueName": "曼联",
                    "attrValueCode": "1641462750889",
                    "attrValueTagCode": "",
                    "sort": 8,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 156,
                    "attrValueName": "足球俱乐部",
                    "attrValueCode": "1641462698607",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 157,
                    "attrValueName": "足球服饰",
                    "attrValueCode": "1641462698709",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 155,
                    "attrValueName": "足球鞋",
                    "attrValueCode": "1641462698485",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 139,
                    "children": []
                },
                {
                    "id": 158,
                    "attrValueName": "运动装备",
                    "attrValueCode": "1641462737751",
                    "attrValueTagCode": "",
                    "sort": 4,
                    "parentId": 139,
                    "children": []
                }
            ]
        },
        {
            "id": 156,
            "attrValueName": "足球俱乐部",
            "attrValueCode": "1641462698607",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 139,
            "children": []
        },
        {
            "id": 157,
            "attrValueName": "足球服饰",
            "attrValueCode": "1641462698709",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 139,
            "children": []
        },
        {
            "id": 155,
            "attrValueName": "足球鞋",
            "attrValueCode": "1641462698485",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 139,
            "children": []
        },
        {
            "id": 137,
            "attrValueName": "跑步",
            "attrValueCode": "1641462615727",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": -1,
            "children": [
                {
                    "id": 148,
                    "attrValueName": "Alpha Bounce",
                    "attrValueCode": "1641462662767",
                    "attrValueTagCode": "",
                    "sort": 5,
                    "parentId": 137,
                    "children": []
                },
                {
                    "id": 149,
                    "attrValueName": "Clima",
                    "attrValueCode": "1641462662947",
                    "attrValueTagCode": "",
                    "sort": 6,
                    "parentId": 137,
                    "children": []
                },
                {
                    "id": 147,
                    "attrValueName": "Ultra BOOST",
                    "attrValueCode": "1641462643461",
                    "attrValueTagCode": "",
                    "sort": 4,
                    "parentId": 137,
                    "children": []
                },
                {
                    "id": 145,
                    "attrValueName": "跑步服饰",
                    "attrValueCode": "1641462643034",
                    "attrValueTagCode": "",
                    "sort": 2,
                    "parentId": 137,
                    "children": []
                },
                {
                    "id": 144,
                    "attrValueName": "跑步鞋",
                    "attrValueCode": "1641462642830",
                    "attrValueTagCode": "",
                    "sort": 1,
                    "parentId": 137,
                    "children": []
                },
                {
                    "id": 146,
                    "attrValueName": "运动装备",
                    "attrValueCode": "1641462643168",
                    "attrValueTagCode": "",
                    "sort": 3,
                    "parentId": 137,
                    "children": []
                }
            ]
        },
        {
            "id": 145,
            "attrValueName": "跑步服饰",
            "attrValueCode": "1641462643034",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 137,
            "children": []
        },
        {
            "id": 144,
            "attrValueName": "跑步鞋",
            "attrValueCode": "1641462642830",
            "attrValueTagCode": "",
            "sort": 1,
            "parentId": 137,
            "children": []
        },
        {
            "id": 153,
            "attrValueName": "运动胸衣&紧身裤",
            "attrValueCode": "1641462675308",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": 138,
            "children": []
        },
        {
            "id": 146,
            "attrValueName": "运动装备",
            "attrValueCode": "1641462643168",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 137,
            "children": []
        },
        {
            "id": 152,
            "attrValueName": "运动装备",
            "attrValueCode": "1641462675185",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 138,
            "children": []
        },
        {
            "id": 158,
            "attrValueName": "运动装备",
            "attrValueCode": "1641462737751",
            "attrValueTagCode": "",
            "sort": 4,
            "parentId": 139,
            "children": []
        },
        {
            "id": 165,
            "attrValueName": "运动装备",
            "attrValueCode": "1641462759517",
            "attrValueTagCode": "",
            "sort": 3,
            "parentId": 140,
            "children": []
        },
        {
            "id": 176,
            "attrValueName": "骑行",
            "attrValueCode": "1641462810076",
            "attrValueTagCode": "",
            "sort": 5,
            "parentId": 142,
            "children": []
        },
        {
            "id": 173,
            "attrValueName": "高尔夫",
            "attrValueCode": "1641462797192",
            "attrValueTagCode": "",
            "sort": 2,
            "parentId": 142,
            "children": []
        }
    ]
}
修改于 2023-09-07 07:12:47
上一页
03 素材组移除素材
下一页
02 查询筛选模板元数据
Built with