- 1、服务总线-字典接口组
- 1、国家英文码值对照相关接口
- 2、ISO 639语言编码相关接口
- 3、媒体类型相关接口
- 4、地域相关接口
- 5、媒体信源标签相关接口
- 6、标签相关接口
- 7、分类相关接口
- 2、消息服务-业务接口组
- 1、发文检索相关接口
- 2、媒体账号检索相关接口
- 3、发文分析相关接口
- 4、媒体账号分析相关接口
- 5、热榜相关接口
- 7、数据推送相关接口
- 11、互动量更新相关接口
- 服务总线-附件
- 产品API
10)根据uuid获取OCR信息
POST
/v1/search/getOcrInfoByUuids
1、发文检索相关接口
请求参数
Header 参数
appKey
string
AppKey
nonce
string
随机数
timestamp
string
时间戳
signature
string
必需
Body 参数application/json
根据uuid获取OCR信息入参
publishTime
string <date-time>
必需
uuid
string
文章唯一值
frameNum
integer <int32>
可选
>= 1<= 20
示例值:
5
示例
{
"publishTime": "2019-08-24T14:15:22Z",
"uuid": "string",
"frameNum": 5
}
示例代码
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/search/getOcrInfoByUuids' \
--header 'appKey;' \
--header 'nonce;' \
--header 'timestamp;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"publishTime": "2019-08-24T14:15:22Z",
"uuid": "string",
"frameNum": 5
}'
返回响应
🟢200OK
application/json
Body
返回数据格式
code
integer <int32>
可选
success
boolean
可选
message
string
响应消息
data
object (SearchResultVO)
发文检索响应结果集
gid
integer <int64>
全局有序ID
uuid
string
文档唯一ID
title
string
可选
layoutName
string
电子报纸版面名称
layoutCode
string
电子报纸版号
paperPicture
array[string]
电子报纸版面图
author
string
作者
source
string
可选
abstract1
string
摘要
content
string
内容
imageOcrContent
string
可选
imageOcrVo
string
可选
audioContent
string
可选
publishTime
string
文章发布时间
crawlerTime
string
文章采集时间
updateTime
string
数据更新时间
esInsertTime
string
数据入ES时间
url
string
发文链接
picturesArray
array[string]
图片链接
videosArray
array[string]
视频链接
videosCoverArray
array[string]
视频封面图链接
mediaType
array[integer <int32>]
可选
htmlInfo
string
可选
likeCount
integer <int32>
可选
commentCount
integer <int32>
可选
readCount
integer <int32>
可选
playCount
integer <int32>
可选
watchCount
integer <int32>
可选
rttCount
integer <int32>
转发量
collectCount
integer <int32>
收藏量
barrageCount
integer <int32>
弹幕量
coinCount
integer <int32>
投币量
topicTags
array[string]
话题标签
articleType
integer <int32>
可选
rootArticle
object (RootArticleVO)
可选
rootArticleId
string
可选
parentArticleId
string
可选
ipAreaName
string
IP归属地名称
ipAreaCountry
string
IP归属地所在国家
ipAreaProvince
string
IP归属地所在省
platform
object (PlatformVO)
站点信息聚类
user
object (UserVO)
账号信息聚类
analysis
object (AnalysisVO)
分析信息聚类
articleId
string
文章id
isPaid
integer <int32>
可选
allFaceCount
integer <int32>
可选
isAdvertisement
integer <int32>
可选
hectare
string
可选
firstPicture
string
可选
articlePage
string
可选
errors
array[string]
错误信息集合
time
string <date-time>
响应时间
示例
{
"code": 0,
"success": true,
"message": "string",
"data": {
"gid": 0,
"uuid": "string",
"title": "string",
"layoutName": "string",
"layoutCode": "string",
"paperPicture": [
"string"
],
"author": "string",
"source": "string",
"abstract1": "string",
"content": "string",
"imageOcrContent": "string",
"imageOcrVo": "string",
"audioContent": "string",
"publishTime": "string",
"crawlerTime": "string",
"updateTime": "string",
"esInsertTime": "string",
"url": "string",
"picturesArray": [
"string"
],
"videosArray": [
"string"
],
"videosCoverArray": [
"string"
],
"mediaType": [
0
],
"htmlInfo": "string",
"likeCount": 0,
"commentCount": 0,
"readCount": 0,
"playCount": 0,
"watchCount": 0,
"rttCount": 0,
"collectCount": 0,
"barrageCount": 0,
"coinCount": 0,
"topicTags": [
"string"
],
"articleType": 0,
"rootArticle": {
"rootIndex": "string",
"rootArticleId": "string",
"rootArticleUrl": "string"
},
"rootArticleId": "string",
"parentArticleId": "string",
"ipAreaName": "string",
"ipAreaCountry": "string",
"ipAreaProvince": "string",
"platform": {
"dataSourceType": "string",
"websiteName": "string",
"host": "string",
"subHost": "string",
"country": "string",
"isForeignMedia": 0,
"mediaAreaProvince": "string",
"mediaAreaCity": "string",
"mediaAreaCounty": "string",
"channelName": "string",
"channelUrl": "string",
"mediaTags": [
"string"
]
},
"user": {
"userId": "string",
"secUid": "string",
"customId": "string",
"userName": "string",
"url": "string",
"headImageUrl": "string",
"isVerified": 0,
"verifiedType": 0,
"followersCount": 0,
"publishCount": 0
},
"analysis": {
"fingerprint": "string",
"isFingerprintHead": 0,
"interactionCount": 0,
"weightInteractionCount": 0,
"entityAddress": [
"string"
],
"entityOrganization": [
"string"
],
"entityPeople": [
"string"
],
"analyzeLocation": [
"string"
],
"keywords": [
"string"
],
"language": "string",
"polarity": 0,
"subjectSentiment": [
"string"
],
"isSensitive": 0,
"sensitiveWords": [
"string"
],
"contentAreaCountry": [
"string"
],
"contentAreaProvince": [
"string"
],
"contentAreaCity": [
"string"
],
"contentAreaCounty": [
"string"
],
"category": "string",
"firstPublication": 0,
"expertOpinions": [
"string"
],
"keyPhrase": [
"string"
],
"phrases": [
"string"
],
"subjectExtract": [
"string"
],
"heatNumber": 0,
"rank": 0,
"tags1": [
"string"
],
"tags2": [
"string"
],
"tags3": [
"string"
],
"tags4": [
"string"
],
"tags5": [
"string"
],
"tags6": [
"string"
],
"tags7": [
"string"
]
},
"articleId": "string",
"isPaid": 0,
"allFaceCount": 0,
"isAdvertisement": 0,
"hectare": "string",
"firstPicture": "string",
"articlePage": "string"
},
"errors": [
"string"
],
"time": "2019-08-24T14:15:22Z"
}
修改于 2025-04-09 10:22:08