- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
4)指定渠道获取发文评论信息
POST
/v1/interactionVolume/articleCommentUpdates
7、互动量更新相关接口
请求参数
Header 参数
appKey
string
AppKey
nonce
string
随机数
timestamp
string
时间戳
signature
string
必需
Body 参数application/json
文章评论更新入参
dataSourceType
string
必需
默认值:
00401
task
array[object (BaseCommentInfoTask) {2}]
必需
>= 1 items<= 2147483647 items
end_time
string
可选
示例值:
yyyy-MM-dd
start_time
string
可选
示例值:
yyyy-MM-dd
示例
{
"dataSourceType": "00401",
"task": [
{
"end_time": "yyyy-MM-dd",
"start_time": "yyyy-MM-dd"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/interactionVolume/articleCommentUpdates' \
--header 'appKey;' \
--header 'nonce;' \
--header 'timestamp;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
返回数据格式
code
integer <int32>
可选
success
boolean
可选
message
string
响应消息
data
object (ArticleInfoUpdateResultVO)
更新返回结果
updateSuccessVO
array[object (ArticleUpdateResultVO) {63}]
更新成功返回结果
updatefailVO
array[object (ArticleInfoUpdatefailVO) {5}]
更新失败返回结果
dataSourceId
string
渠道id
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": {
"updateSuccessVO": [
{
"gid": 0,
"uuid": "string",
"title": "string",
"author": "string",
"source": "string",
"abstract1": "string",
"content": "string",
"imageOcrVo": "string",
"videoOcrContent": "string",
"publishTime": "string",
"crawlerTime": "string",
"updateTime": "string",
"esInsertTime": "string",
"url": "string",
"picturesArray": [
"string"
],
"videosArray": [
"string"
],
"videosCoverArray": [
"string"
],
"mediaType": [
0
],
"likeCount": 0,
"commentCount": 0,
"readCount": 0,
"playCount": 0,
"watchCount": 0,
"rttCount": 0,
"articleType": 0,
"rootArticleId": "string",
"parentArticleId": "string",
"rootArticleUrl": "string",
"ipAreaName": "string",
"ipAreaCountry": "string",
"ipAreaProvince": "string",
"platform": {
"dataSourceType": "string",
"websiteName": "string",
"host": "string",
"subHost": "string",
"country": "string",
"isForeignMedia": 0,
"isSensitiveSite": 0,
"mediaAreaProvince": "string",
"mediaAreaCity": "string",
"mediaAreaCounty": "string",
"channelName": "string",
"channelUrl": "string",
"mediaTags": [
"string"
]
},
"user": {},
"articleId": "string",
"layoutName": "string",
"layoutCode": "string",
"imageOcrContent": "string",
"hahaFaceCount": 0,
"likeFaceCount": 0,
"loveFaceCount": 0,
"wowFaceCount": 0,
"angryFaceCount": 0,
"sadFaceCount": 0,
"careFaceCount": 0,
"allFaceCount": 0,
"timeDelay": 0,
"videoDurationSecond": 0,
"original": 0,
"contentHtml": "string",
"subTitle": "string",
"annexFiles": "string",
"barrageCount": 0,
"coinCount": 0,
"collectCount": 0,
"topicTags": "string",
"signInCountry": "string",
"signInProvince": "string",
"signInCity": "string",
"signInCounty": "string",
"signInAddress": "string",
"positionName": "string",
"audioUrl": "string",
"secVideoUrlArray": [
"string"
]
}
],
"updatefailVO": [
{
"articleId": "string",
"articleUrl": "string",
"url": "string",
"errorCode": 0,
"errorMsg": "string"
}
],
"dataSourceId": "string"
},
"errors": [
"string"
],
"time": "2019-08-24T14:15:22Z"
}
修改于 2025-04-02 12:05:51