- 爱品
- AI热点
- 热榜聚焦
- 个人中心
- 登录
- 测试
- 前言洞察
- 开源情报
- 方案相关
- 方案信息
- 用户复制设置
- 方案分类
- 昨天方案文章数量POST
- 获取指定类型promptPOST
- 获取最新promptIdPOST
- 项目
- AI会商
- 未命名接口POST
信息情感统计
开发中
POST
/scheme/info/emotion-total
请求参数
Body 参数application/json
readStatus
integer
必需
keywords
string
必需
searchType
integer
必需
collapse
integer
必需
platform
array[string]
必需
endDate
string
必需
startDate
string
必需
mediaLevel
object
必需
origin
integer
必需
sortType
string
必需
sort
string
必需
typeId
integer
必需
sid
integer
必需
newsContentIpLocation
string
必需
tags
array[string]
必需
isMark
integer
必需
示例
{
"readStatus": 1,
"keywords": "",
"searchType": 0,
"collapse": 0,
"platform": [
"total"
],
"endDate": "2024-08-22 14:31:14",
"startDate": "2024-07-22 00:00:00",
"mediaLevel": {},
"origin": 1,
"sortType":"posttime",
"sort": "Asc",
"typeId":0,
"sid": 1,
"newsContentIpLocation": "全国",
"tags": [
],
"isMark":0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/scheme/info/emotion-total' \
--header 'Content-Type: application/json' \
--data-raw '{
"readStatus": 1,
"keywords": "",
"searchType": 0,
"collapse": 0,
"platform": [
"total"
],
"endDate": "2024-08-22 14:31:14",
"startDate": "2024-07-22 00:00:00",
"mediaLevel": {},
"origin": 1,
"sortType":"posttime",
"sort": "Asc",
"typeId":0,
"sid": 1,
"newsContentIpLocation": "全国",
"tags": [
],
"isMark":0
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
emotionDist
object
必需
示例
{"code":10000,"msg":"success","data":{"emotionDist":{"全部":{"name":"全部","num":47},"正面":{"name":"正面","num":0},"中性":{"name":"中性","num":"46"},"负面":{"name":"负面","num":"1"}}}}
修改于 2024-12-11 03:43:07