03 获取单个内容详情(不推荐)
POST
https://vms-exapi.tezign.com/portal/open/block/getContent
客户端开放接口
请求参数
Header 参数
X-App-Key
string
必需
示例值:
16cjm234de0gye1dtlrv60clexna544w
S-Sign
string
必需
示例值:
0hm1d6dx
S-Timestamp
string
必需
示例值:
1660892101000
S-Nonce
string
必需
示例值:
UUID
Content-Type
string
必需
示例值:
application/json
x-asm-prefer-tag
string
可选
默认值:
version-env-07
Body 参数application/json
id
integer
内容Id
pictureParam
object
图片参数
width
integer
宽(单位像素)
high
integer
高(单位像素)
示例
{
"id": 3314,
"pictureParam":{
"width":800,
"high":800
}
}
示例代码
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://vms-exapi.tezign.com/portal/open/block/getContent' \
--header 'X-App-Key: 16cjm234de0gye1dtlrv60clexna544w' \
--header 'S-Sign: 0hm1d6dx' \
--header 'S-Timestamp: 1660892101000' \
--header 'S-Nonce: UUID' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 3314,
"pictureParam":{
"width":800,
"high":800
}
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
object
必需
id
integer
必需
portalId
string
必需
blockId
integer
必需
coreId
integer
必需
name
string
标题
metadataInfo
object
metadata元数据信息
coverPicture
string
封面图
contentText
string
内容正文
detailPictures
array[string]
内容详情图
publishTime
integer
发布时间
buttonName
string
按钮名称
buttonLinkUrl
string
按钮链接
示例
{
"code": "0",
"message": "anim minim officia",
"result": {
"id": 69,
"portalId": "46",
"blockId": 39,
"coreId": 64,
"name": "看共保有物支",
"metadataInfo": {
"CUSTOMER_PORTAL_PUBLISH_TIME": 1064458489842
},
"coverPicture": "http://dummyimage.com/400x400",
"contentText": "sed fugiat ea",
"detailPictures": [
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400",
"http://dummyimage.com/400x400"
],
"publishTime": 282554578965,
"buttonName": "立书那己",
"buttonLinkUrl": "http://lgbo.mo/ggin"
}
}
修改于 2023-09-07 07:18:05