- 爱品
- AI热点
- 热榜聚焦
- 个人中心
- 登录
- 测试
- 前言洞察
- 开源情报
- 项目
- AI会商
- 未命名接口POST
信源添加
开发中
POST
/aiScheme/scheme-info-source/add
请求参数
Body 参数application/json
domain
string
必需
mediaId
string
必需
mediaIdentity
string
必需
mediaName
string
必需
newsOrigin
string
必需
platform
string
必需
platformDomainPri
string
必需
platformDomainSec
string
必需
platformId
string
必需
platformName
string
必需
source
string
必需
sourceFields
string
必需
type
integer
必需
sign
string
必需
channelName
string
必需
infoType
string
信源类型
isExist
integer
是否存在
originPlatformName
string
必需
schemeId
integer
编辑方案添加信源时必填
tempSchemeId
string
创建方案添加信源 时必填 前端创建保持唯一性
示例
{
"domain": "string",
"mediaId": "string",
"mediaIdentity": "string",
"mediaName": "string",
"newsOrigin": "string",
"platform": "string",
"platformDomainPri": "string",
"platformDomainSec": "string",
"platformId": "string",
"platformName": "string",
"source": "string",
"sourceFields": "string",
"type": 0,
"sign": "string",
"channelName": "string",
"infoType": "string",
"isExist": 0,
"originPlatformName": "string",
"schemeId": 0,
"tempSchemeId": "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 '/aiScheme/scheme-info-source/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain": "string",
"mediaId": "string",
"mediaIdentity": "string",
"mediaName": "string",
"newsOrigin": "string",
"platform": "string",
"platformDomainPri": "string",
"platformDomainSec": "string",
"platformId": "string",
"platformName": "string",
"source": "string",
"sourceFields": "string",
"type": 0,
"sign": "string",
"channelName": "string",
"infoType": "string",
"isExist": 0,
"originPlatformName": "string",
"schemeId": 0,
"tempSchemeId": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}