- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 服务总线-附件
- 产品API
热点主题
POST
/gateway/analysis/api/analyzeModule/hotTheme
请求参数
Header 参数
appKey
string
必需
nonce
string
必需
示例值:
{{nonce}}
timestamp
string
必需
示例值:
{{timestamp}}
signature
string
必需
示例值:
{{signature}}
Body 参数application/json
schemeId
integer
必需
dataSource
array [object {9}]
必需
id
integer
必需
children
array [object {3}] | null
必需
label
string
必需
type
integer
必需
value
string
必需
weight
null
必需
site
string | null
必需
channelGroup
string | null
必需
account
string
必需
realTime
integer
必需
startPubTime
null
必需
endPubTime
null
必需
articleType
array[integer]
必需
size
integer
必需
示例
{
"schemeId": 30822936,
"dataSource": [
{
"id": 36,
"children": [
{
"id": 1,
"label": "网站",
"value": "00101,00100,10101,10100,10104"
},
{
"id": 30,
"label": "今日头条",
"value": "00104"
}
],
"label": "网媒",
"type": 1,
"value": "00101,00100,10101,10100,10104,00104",
"weight": null,
"site": "1",
"channelGroup": "2,4",
"account": "3"
},
{
"id": 3,
"children": null,
"label": "微博",
"type": 0,
"value": "00301",
"weight": null,
"site": null,
"channelGroup": null,
"account": "3"
}
],
"realTime": 7,
"startPubTime": null,
"endPubTime": null,
"articleType": [
1,
2,
3
],
"size": 10
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/gateway/analysis/api/analyzeModule/hotTheme' \
--header 'appKey;' \
--header 'nonce: {{nonce}}' \
--header 'timestamp: {{timestamp}}' \
--header 'signature: {{signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"schemeId": 30822936,
"dataSource": [
{
"id": 36,
"children": [
{
"id": 1,
"label": "网站",
"value": "00101,00100,10101,10100,10104"
},
{
"id": 30,
"label": "今日头条",
"value": "00104"
}
],
"label": "网媒",
"type": 1,
"value": "00101,00100,10101,10100,10104,00104",
"weight": null,
"site": "1",
"channelGroup": "2,4",
"account": "3"
},
{
"id": 3,
"children": null,
"label": "微博",
"type": 0,
"value": "00301",
"weight": null,
"site": null,
"channelGroup": null,
"account": "3"
}
],
"realTime": 7,
"startPubTime": null,
"endPubTime": null,
"articleType": [
1,
2,
3
],
"size": 10
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}