媒资详情推荐列表:根据条件查询ES
POST
/v1/asset/asset/listDetailSuggestByParam
AssetController
请求参数
Body 参数application/json
详情推荐数据
cid
integer <int32>
分类id
notId
array[integer <int64>]
过滤媒资ID
orTagIds
array[integer <int64>]
媒资标签
appCode
string
业务唯一code
haveImg
integer <int32>
是否有图片
orSourceSource
array[integer <int64>]
可选
sourceAuth
array[integer <int64>]
媒资类型
page
integer <int32>
页码
pageSize
integer <int32>
每页显示条数
isWhite
integer <int32>
是否开启白名单
mcSourceVersionControlQueries
array[object (McSourceVersionControlQuery) {3}]
可选
sourceId
integer <int32>
源ID
categoryIdList
array[integer <int32>]
可选
payTypeList
array[integer <int32>]
可选
示例
{
"cid": 0,
"notId": [
0
],
"orTagIds": [
0
],
"appCode": "string",
"haveImg": 0,
"orSourceSource": [
0
],
"sourceAuth": [
0
],
"page": 0,
"pageSize": 0,
"isWhite": 0,
"mcSourceVersionControlQueries": [
{
"sourceId": 0,
"categoryIdList": [
0
],
"payTypeList": [
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 'https://testgateway.dangbei.net/v1/asset/asset/listDetailSuggestByParam' \
--header 'Content-Type: application/json' \
--data-raw '{
"cid": 0,
"notId": [
0
],
"orTagIds": [
0
],
"appCode": "string",
"haveImg": 0,
"orSourceSource": [
0
],
"sourceAuth": [
0
],
"page": 0,
"pageSize": 0,
"isWhite": 0,
"mcSourceVersionControlQueries": [
{
"sourceId": 0,
"categoryIdList": [
0
],
"payTypeList": [
0
]
}
]
}'
返回响应
🟢200OK
application/json
Body
success
boolean
可选
errCode
string
可选
errMessage
string
可选
requestId
string
可选
data
object (AssetListCo)
媒资列表 CO对象
createTime
integer <int64>
创建时间
updateTime
integer <int64>
更新时间
total
integer <int64>
可选
assetCOList
array[object (AssetEsCo) {36}]
可选
示例
{
"success": true,
"errCode": "string",
"errMessage": "string",
"requestId": "string",
"data": {
"createTime": 0,
"updateTime": 0,
"total": 0,
"assetCOList": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"title": "string",
"aliasTitle": "string",
"tagIds": [
"string"
],
"tagName": [
"string"
],
"peopleTagName": [
"string"
],
"languageName": [
"string"
],
"areaName": "string",
"hot": 0,
"status": 0,
"actor": [
"string"
],
"director": [
"string"
],
"score": 0,
"baseScore": 0,
"showScore": 0,
"cid": 0,
"relationAids": [
"string"
],
"releaseTime": 0,
"pinyin": [
"string"
],
"area": 0,
"areaIds": [
0
],
"areaNames": [
"string"
],
"isDelete": 0,
"year": 0,
"languageIds": [
"string"
],
"sources": [
"string"
],
"peopleTagIds": [
"string"
],
"epUpdateTime": 0,
"desc": "string",
"clickCount": 0,
"assetImgList": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"aid": 0,
"img": "string",
"remoteImg": "string",
"type": 0,
"isDelete": 0,
"imgType": 0
}
],
"assetFileVOList": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"aid": 0,
"bucket": "string",
"path": "string",
"dpi": "string",
"format": "string",
"encodeUrl": "string",
"isAdmin": 0,
"mimeType": "string",
"originalName": "string",
"width": 0,
"height": 0,
"size": 0,
"duration": 0,
"serverEtag": "string",
"aliyunJobId": "string",
"aliyunJobStatus": 0,
"type": 0,
"language": 0,
"field": "string",
"relType": 0,
"md5Name": "string",
"encryptionKey": "string",
"deleteTime": 0
}
],
"sourcesList": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"aid": 0,
"source": 0,
"title": "string",
"uuid": "string",
"sid": "string",
"auth": 0,
"payType": 0,
"eptotal": 0,
"epup": 0,
"currcount": 0,
"isFinish": 0,
"finishTime": 0,
"len": 0,
"streamType": [
"string"
],
"score": 0,
"playUrl": "string",
"sort": 0,
"extra": "string",
"status": 0,
"epUpdateTime": 0,
"releaseTime": 0,
"headerTime": 0,
"tailTime": 0,
"isDelete": 0,
"epVipCount": 0,
"epFreeCount": 0,
"epPayCount": 0,
"epLeadCount": 0,
"epCouponCount": 0
}
],
"assetEpisodeVOList": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"aid": 0,
"source": 0,
"epId": "string",
"name": "string",
"auth": 0,
"payType": 0,
"uuid": "string",
"sort": 0,
"len": 0,
"streamType": "string",
"playUrl": "string",
"status": 0,
"summary": "string",
"extra": "string",
"remoteImg": "string",
"img": "string"
}
]
}
]
}
}
🟠400Bad Request
🔴500Internal Server Error