- API调用指南
- 鉴权(访问令牌)
- 素材
- 联动打标
- 素材组
- 元数据(Metadata)
- 内容分发
- 01 分发看板
- 02 内容中心
- 03 私域中心
- 04社媒分发
- 消息
- 租户基础信息
- 用户信 息
- 埋点
- 审批中心
- 规则引擎
- 冷库归档
- 客户端开放接口
- 历史版本(不推荐)
- 日常测试
- 测试POST
04 批量查询内容详情
POST
https://open-auth.tezign.com/open-api/standard/v1/batchContentDetail
内容分发看板
请求参数
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
必需
contentIds
array[integer]
看板内容IDs
示例
{
"token": "",
"param": {
"id": 3327
}
}
示例代码
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/batchContentDetail' \
--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": {
"id": 3327
}
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
array [object {10}]
可选
id
integer
内容ID
portalId
string
看板ID
blockId
integer
区块ID
coreId
integer
素材ID
assetId
integer
资源ID
updateTime
number
更新时间
publishTime
number
发布/上架时间
toStopTime
number
预计下架时间
positionList
array [object {2}]
点位资源信息列表
extContentInfo
object
内容发布设置
示例
{
"code": "0",
"message": "success",
"result": {
"id": 3327,
"portalId": "2A7A83B058B3FEC49E9C39150B860466",
"blockId": 327,
"coreId": 15,
"assetId": 1,
"updateTime": 1661331538000,
"publishTime": 1661331538000,
"toStopTime": 1671331538000,
"extContentInfo": {
"CUSTOMER_PORTAL_PUBLISH_TIME": 1661331529416
},
"positionList": [
{
"positionCode": "text_title",
"assetList": [
{
"extension": "content_text",
"fileFormatType": "content_text",
"asset": {
"baseText": "全面开启推送"
}
}
]
},
{
"positionCode": "text_content",
"assetList": [
{
"extension": "content_text",
"fileFormatType": "content_text",
"asset": {
"baseText": "这里是一段文章描述的正文"
}
}
]
},
{
"positionCode": "image_cover",
"assetList": [
{
"extension": "jpg",
"fileFormatType": "picture",
"asset": {
"size": 259246,
"name": "67601661312321_.pic.jpg.jpg",
"width": 560,
"url": "",
"height": 420
}
}
]
},
{
"positionCode": "image_detail",
"assetList": [
{
"extension": "jpg",
"fileFormatType": "picture",
"asset": {
"size": 2595815,
"name": "测试图.jpeg.jpg",
"width": 1920,
"url": "",
"height": 1760
}
}
]
}
],
"tagList": [
{
"code": "280",
"name": "神盾"
}
]
}
}
修改于 2023-08-22 07:37:35