- 爱品
- AI热点
- 热榜聚焦
- 个人中心
- 登录
- 测试
- 前言洞察
- 开源情报
- 项目
- AI会商
- 未命名接口POST
创建编辑方案(更新)
开发中
POST
/aiScheme/scheme/create-scheme
请求参数
Body 参数application/json
id
integer
方案id
name
string
方案名称
typeId
integer
监测组id
dataSource
integer
获取类型
keywordsFinal
string
关键词
keywordsExclude
string
排除词
keywordsAm
string
歧义词
tempSchemeId
string
必需
query
array [object {5}]
必需
platform
array[string]
平台类型
newsIsOrigin
integer
是否原发
emotion
array[string]
情感
matchObject
array[string]
匹配方式
mediaLevel
object
媒体类别
warn
object
必需
warnReportId
integer
通报格式id
contact
string
联系人id
isOther
integer
是否其他
status
integer
是否开启
beginTime
string
开始时间
endTime
string
结束时间
frequency
string
通报频次
weeks
array[integer]
星期
platform
array[string]
必需
emotion
array[string]
必需
newsContentIpLocation
string
发布地区
collapseType
string
相似类型
collapse
integer
去重
origin
integer
是否原发
mediaLevel
array[string]
媒体类别
label
object
必需
ids
array[integer]
标签id
示例
{
"id": 0,
"name": "string",
"typeId": 0,
"dataSource": 0,
"keywordsFinal": "string",
"keywordsExclude": "string",
"keywordsAm": "string",
"tempSchemeId": "string",
"query": [
{
"platform": [
"string"
],
"newsIsOrigin": 0,
"emotion": [
"string"
],
"matchObject": [
"string"
],
"mediaLevel": {
"政务": [
"string"
],
"新闻媒体": [
"string"
],
"资讯媒体": [
"string"
]
}
}
],
"warn": {
"warnReportId": 0,
"contact": "string",
"isOther": 0,
"status": 0,
"beginTime": "string",
"endTime": "string",
"frequency": "string",
"weeks": [
0
],
"platform": [
"string"
],
"emotion": [
"string"
],
"newsContentIpLocation": "string",
"collapseType": "string",
"collapse": 0,
"origin": 0,
"mediaLevel": [
"string"
]
},
"label": {
"ids": [
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 '/aiScheme/scheme/create-scheme' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"typeId": 0,
"dataSource": 0,
"keywordsFinal": "string",
"keywordsExclude": "string",
"keywordsAm": "string",
"tempSchemeId": "string",
"query": [
{
"platform": [
"string"
],
"newsIsOrigin": 0,
"emotion": [
"string"
],
"matchObject": [
"string"
],
"mediaLevel": {
"政务": [
"string"
],
"新闻媒体": [
"string"
],
"资讯媒体": [
"string"
]
}
}
],
"warn": {
"warnReportId": 0,
"contact": "string",
"isOther": 0,
"status": 0,
"beginTime": "string",
"endTime": "string",
"frequency": "string",
"weeks": [
0
],
"platform": [
"string"
],
"emotion": [
"string"
],
"newsContentIpLocation": "string",
"collapseType": "string",
"collapse": 0,
"origin": 0,
"mediaLevel": [
"string"
]
},
"label": {
"ids": [
0
]
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}