- API调用指南
- 鉴权(访问令牌)
- 素材
- 联动打标
- 素材组
- 元数据(Metadata)
- 内容分发
- 01 分发看板
- 02 内容中心
- 03 私域中心
- 04社媒分发
- 消息
- 租户基础信息
- 用户信 息
- 埋点
- 审批中心
- 规则引擎
- 冷库归档
- 客户端开放接口
- 历史版本(不推荐)
- 日常测试
- 测试POST
05 查询内容区块渠道标签配置
POST
https://open-auth.tezign.com/open-api/standard/v1/getPublishSetting
内容分发看板
请求参数
Header 参数
Access-token
string
必需
示例值:
b46eda34-bf02-452b-b518-75d68a7159ab
Token-type
string
必需
示例值:
bearer
Content-Type
string
必需
示例值:
application/json
x-asm-prefer-tag
string
可选
默认值:
version-env-07
Body 参数application/json
token
string
必需
param
object
必需
blockId
integer
内容模块ID
excludeAttrCodes
array[string]
排除的字段code集合
示例
{
"token": "",
"param": {
"blockId": 327,
"excludeAttrCodes": [
"xxx"
]
}
}
示例代码
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/getPublishSetting' \
--header 'Access-token: b46eda34-bf02-452b-b518-75d68a7159ab' \
--header 'Token-type: bearer' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "",
"param": {
"blockId": 327,
"excludeAttrCodes": [
"xxx"
]
}
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
array [object {3}]
必需
code
string
字段code
name
string
字段名称
childList
array [object {4}]
选项列表
示例
{
"code": "0",
"message": "处理成功",
"result": [
{
"code": "CUSTOME_PORTAL_RECOMMENDED_LOGO",
"name": "推荐标识",
"childList": [
{
"name": "沸",
"key": "1660533536537",
"value": "1660533536537",
"childList": null
},
{
"name": "新",
"key": "1660533540846",
"value": "1660533540846",
"childList": null
}
]
},
{
"code": "CUSTOMER_PORTAL_PRODUCT_NUMBER",
"name": "产品型号",
"childList": [
{
"name": "YOGA",
"key": "20220816000004",
"value": "20220816000004",
"childList": [
{
"name": "Pad Pro 系列",
"key": "20220816000002",
"value": "20220816000002",
"childList": [
{
"name": "YOGA Pad Pro",
"key": "1660533045397",
"value": "1660533045397",
"childList": null
}
]
}
]
},
{
"name": "炫耀者",
"key": "20220816000005",
"value": "20220816000005",
"childList": [
{
"name": "电竞手机",
"key": "20220816000008",
"value": "20220816000008",
"childList": [
{
"name": "电竞手机 Y90",
"key": "1660532872160",
"value": "1660532872160",
"childList": null
},
{
"name": "电竞手机 Y70",
"key": "1660532970634",
"value": "1660532970634",
"childList": null
},
{
"name": "电竞手机一代",
"key": "1660532975902",
"value": "1660532975902",
"childList": null
},
{
"name": "电竞手机 2Pro",
"key": "1660532980832",
"value": "1660532980832",
"childList": null
}
]
},
{
"name": "电竞平板",
"key": "20220816000007",
"value": "20220816000007",
"childList": [
{
"name": "拯救者电竞平板 Y700",
"key": "1660532986406",
"value": "1660532986406",
"childList": null
}
]
}
]
}
]
}
]
}
修改于 2024-12-03 02:56:36