- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
3)根据渠道和账号ID查询是否采集该媒体账号信息
POST
/v1/account/getIsContainsAccount
2、媒体账号检索相关接口
请求参数
Header 参数
appKey
AppKey
nonce
随机数
timestamp
时间戳
signature
必需
Body 参数application/json
获取是否采集账号提醒接口入参
mediaInfoFilters
array[object (MediaInfoFilterDTO) {4}]
账号信息
dataSource
string
必需
示例值:
00502
values
array[string]
必需
媒体名称(参数说明:根据传入不同的媒体类型进行不同字段的检索,规则如下:
media_type = 1 host_type = 1 --> 主站点域名
media_type = 1 host_type = 2 --> 子站点域名
media_type = 2 host_type = 1 --> 频道名称 + 主站点域名(格式示例:四川人民网<->xcrm.com)
media_type = 2 host_type = 2 --> 频道名称 + 子站点域名(格式示例:四川人民网<->xcrm.com)
media_type = 3 --> 站点名称 + 用户ID(格式示例:抖音<->120381274891237,检索时会优先查看dataSource)
media_type = 4 --> 用户ID(仅针对搜索 Telegram【10304】使用)
mediaType
integer <int32>
必需
>= 1<= 4
hostType
integer <int32>
可选
>= 1<= 2
pageInfo
object (BasePage)
可选
currentPage
integer <int32>
可选
>= 1
默认值:
1
pageSize
integer <int32>
可选
>= 1<= 200
默认值:
10
sortInfo
object (AccountBaseSort)
账号基础排序对象
sortField
integer <int32>
可选
>= 9<= 15
默认值:
9
sortWay
string
可选
默认值:
desc
示例
{
"mediaInfoFilters": [
{
"dataSource": "00502",
"values": [
"string"
],
"mediaType": 1,
"hostType": 1
}
],
"pageInfo": {
"currentPage": 1,
"pageSize": 10
},
"sortInfo": {
"sortField": 9,
"sortWay": "desc"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/account/getIsContainsAccount' \
--header 'appKey;' \
--header 'nonce;' \
--header 'timestamp;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
返回数据格式
code
integer <int32>
可选
success
boolean
可选
message
string
响应消息
data
array[object (NoCrawlerAccountVO) {42}]
响应数据
uuid
string
文档唯一ID
userId
string
账号ID
customId
string
个性化账号ID
secUid
string
用户第二账号ID
userName
string
账号名称
nickName
string
账号昵称
url
string
账号主页链接
secUrl
string
账号个性化url
description
string
账号描述、简介
headImageUrl
string
账号头像
likeCount
integer <int64>
获赞总数
favouriteCount
integer <int64>
可选
playCount
integer <int64>
播放总数
followersCount
integer <int64>
粉丝总数
publishCount
integer <int64>
发文总数
followCount
integer <int64>
关注总数
collectCount
integer <int64>
可选
rttCount
integer <int64>
转发/分享总数
friendsCount
integer <int64>
好友数
registrationTime
string <date-time>
可选
gender
string
可选
birthday
string <date-time>
可选
age
integer <int32>
年龄
verifiedType
integer <int32>
可选
verifiedInfo
string
认证信息
mcn
string
可选
ipAreaName
string
IP归属地名称
ipAreaCountry
string
IP归属地所在国家
ipAreaProvince
string
IP归属地所在省
location
string
用户所在地
country
string
国家
province
string
省
city
string
市
county
string
县|区
isForeignMedia
integer <int32>
可选
insertTime
string
数据插入时间
updateTime
string
数据更新时间
gid
integer <int64>
可选
platform
object (UserPlatformVO)
可选
crawler
object (UserCrawlerVO)
可选
esInsertTime
string
数据入ES时间
isCrawler
integer <int32>
可选
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": [
{
"uuid": "string",
"userId": "string",
"customId": "string",
"secUid": "string",
"userName": "string",
"nickName": "string",
"url": "string",
"secUrl": "string",
"description": "string",
"headImageUrl": "string",
"likeCount": 0,
"favouriteCount": 0,
"playCount": 0,
"followersCount": 0,
"publishCount": 0,
"followCount": 0,
"collectCount": 0,
"rttCount": 0,
"friendsCount": 0,
"registrationTime": "2019-08-24T14:15:22Z",
"gender": "string",
"birthday": "2019-08-24T14:15:22Z",
"age": 0,
"verifiedType": 0,
"verifiedInfo": "string",
"mcn": "string",
"ipAreaName": "string",
"ipAreaCountry": "string",
"ipAreaProvince": "string",
"location": "string",
"country": "string",
"province": "string",
"city": "string",
"county": "string",
"isForeignMedia": 0,
"insertTime": "string",
"updateTime": "string",
"gid": 0,
"platform": {
"dataSourceType": "string",
"websiteName": "string",
"host": "string",
"subHost": "string",
"channelName": "string",
"mediaType": 0,
"hostType": 0,
"chineseName": "string",
"subWebsiteName": "string",
"chineseSubName": "string",
"chineseChannelName": "string",
"multipleHosts": [
"string"
],
"nameAlias": [
"string"
]
},
"crawler": {
"enable": 0,
"status": 0,
"priority": 0,
"tags": [
"string"
],
"collectComment": 0,
"renewInteraction": 0,
"standardCollect": 0,
"period": 0,
"s": 0
},
"esInsertTime": "string",
"isCrawler": 0
}
],
"errors": [
"string"
],
"time": "2019-08-24T14:15:22Z"
}
修改于 2024-08-23 10:04:55