- API调用指南
- 鉴权(访问令牌)
- 素材
- 联动打标
- 素材组
- 元数据(Metadata)
- 内容分发
- 01 分发看板
- 02 内容中心
- 03 私域中心
- 04社媒分发
- 消息
- 租户基础信息
- 用户信 息
- 埋点
- 审批中心
- 规则引擎
- 冷库归档
- 客户端开放接口
- 历史版本(不推荐)
- 日常测试
- 测试POST
02 获取内容详情
POST
https://open-auth.tezign.com/open-api/standard/v1/getContentDetail
内容分发看板
请求参数
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
必需
id
integer
内容ID即contentId
示例
{
"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/getContentDetail' \
--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
object
必需
id
integer
内容ID
portalId
string
分发看板ID
blockId
integer
内容区块ID
coreId
integer
素材ID
assetId
integer
资源ID
createTime
integer
创建时间
updateTime
integer
更新时间
toPublishTime
integer
预计发布时间
publishTime
integer
发布时间
toStopTime
integer
预计下架时间
stopTime
integer
下架时间
extContentInfo
object
内容发布设置
positionList
array [object {2}]
组合内容点位资源列表
tagList
array [object {2}]
自定义标签列表
publishStatus
integer
内容状态
contentType
string
内容类型
示例
{
"code": "0",
"message": "success",
"result": {
"id": 3327,
"portalId": "2A7A83B058B3FEC49E9C39150B860466",
"blockId": 327,
"coreId": 15,
"assetId": 1,
"updateTime": 1661331538000,
"publishTime": 1661331538000,
"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-10-12 07:48:57