创建监测方案
开发中
POST
/v5/hotnews/hot-list-monitor/create-scheme
请求参数
Body 参数application/json
name
string
必需
keywords
string
必需
hotType
array[string]
必需
intervalTime
string
必需
isWarn
string
必需
contact
string
必需
id
string
必需
keywords_exclude
string
必需
示例
{
"id": "1",
"name": "方案",
"keywords": "微博,哈尔滨+小土豆,春晚",
"keywords_exclude": "大学生,欢欢",
"hotType": [
"weibo",
"douyin",
"kuaishou",
"zhihu",
"toutiao",
"baidu"
],
"intervalTime": "0.3",
"isWarn": "0",
"contact": ""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v5/hotnews/hot-list-monitor/create-scheme' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "1",
"name": "方案",
"keywords": "微博,哈尔滨+小土豆,春晚",
"keywords_exclude": "大学生,欢欢",
"hotType": [
"weibo",
"douyin",
"kuaishou",
"zhihu",
"toutiao",
"baidu"
],
"intervalTime": "0.3",
"isWarn": "0",
"contact": ""
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}