- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
3)更新专题信息
POST
/v1/push/updateSpecialsInfo
3、数据推送相关接口
请求参数
Header 参数
appKey
AppKey
nonce
随机数
timestamp
时间戳
signature
必需
Body 参数application/json
专题更新入参
id
integer <int32>
专题Id
userId
string
用户id
stName
string
专题名称
topicName
string
可选
pushTerms
object (PushTermDTO)
推送条件
pubStartTime
string <date-time>
可选
pubEndTime
string <date-time>
可选
isFilter
boolean
可选
historyPushType
integer <int32>
可选
isDumpPicVideo
integer <int32>
可选
infoSourceConfig
object (InfoSourceConfig)
信源配置
keyWordsConfig
object (KeyWordsConfig)
关键词配置
fieldConfig
object (FieldConfig)
字段配置
示例
{
"id": 0,
"userId": "string",
"stName": "string",
"topicName": "string",
"pushTerms": {
"pubStartTime": "2019-08-24T14:15:22Z",
"pubEndTime": "2019-08-24T14:15:22Z",
"isFilter": true,
"historyPushType": 0,
"isDumpPicVideo": 0,
"infoSourceConfig": {
"dataSources": [
"string"
],
"countryAreas": [
"string"
],
"provinceAreas": [
"string"
],
"mediaAreas": [
{
"mediaAreaProvince": "string",
"mediaAreaCity": "string",
"mediaAreaCounty": "string"
}
],
"contentAreas": [
{
"contentAreaCountry": "string",
"contentAreaProvince": "string",
"contentAreaCity": "string",
"contentAreaCounty": "string"
}
],
"accounts": [
{
"include": true,
"dataSource": "string",
"websiteName": "string",
"host": "string",
"subHost": "string",
"channelName": "string",
"mediaType": "string",
"hostType": "string",
"userId": "string",
"userName": "string"
}
],
"mediaTag": {
"include": true,
"mediaTags": [
"string"
]
},
"linksType": [
0
],
"polarities": [
0
],
"languages": [
"string"
],
"categories": [
"string"
],
"itemLabels": [
"string"
],
"isAdvertisement": 0
},
"keyWordsConfig": {
"articleType": [
0
],
"kwsPosition": [
"string"
],
"kwsMatchType": true,
"mode": "string",
"expressionKeywords": [
"string"
],
"regionKeywords": [
"string"
],
"mainKeywords": [
"string"
],
"eventKeywords": [
"string"
],
"excludeKeywords": [
"string"
]
},
"fieldConfig": {
"fieldList": [
"string"
],
"expand": "string"
}
}
}
示例代码
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/push/updateSpecialsInfo' \
--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
boolean
响应数据
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": true,
"errors": [
"string"
],
"time": "2019-08-24T14:15:22Z"
}
修改于 2024-08-15 09:52:06