- API调用指南
- 鉴权(访问令牌)
- 素材
- 联动打标
- 素材组
- 元数据(Metadata)
- 内容分发
- 01 分发看板
- 02 内容中心
- 03 私域中心
- 04社媒分发
- 消息
- 租户基础信息
- 用户信息
- 埋点
- 审批中心
- 规则引擎
- 冷库归档
- 客户端开放接口
- 历史版本(不推荐)
- 日常测试
- 测试POST
01 查询metadata标签
POST
/open-api/standard/v1/metadata/value/search
MetaData
请求参数
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
必需
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