媒资详情:根据id批量查询
POST
/v1/asset/asset/queryById
AssetController
请求参数
Body 参数application/json
array[integer <int64>]
可选
示例
[
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/queryById' \
--header 'Content-Type: application/json' \
--data-raw '[
0
]'
返回响应
🟢200OK
application/json
Body
success
boolean
可选
errCode
string
可选
errMessage
string
可选
requestId
string
可选
data
array[object (AssetCo) {36}]
可选
createTime
integer <int64>
可选
updateTime
integer <int64>
可选
id
integer <int64>
可选
title
string
可选
aliasTitle
string
可选
tagIds
string
可选
tagName
array[string]
可选
peopleTagName
array[string]
可选
languageName
array[string]
可选
areaName
string
可选
areaNames
array[string]
可选
hot
integer <int32>
可选
status
integer <int32>
可选
actor
string
可选
director
string
可选
score
number <float>
可选
baseScore
number <float>
可选
showScore
number <float>
可选
cid
integer <int32>
可选
relationAids
string
可选
releaseTime
integer <int64>
可选
pinyin
string
可选
area
integer <int64>
可选
areas
string
可选
areaIds
array[integer <int64>]
可选
isDelete
integer <int32>
可选
year
integer <int64>
可选
languageIds
string
可选
sources
string
可选
peopleTagIds
string
可选
epUpdateTime
integer <int64>
可选
desc
string
可选
assetImgList
array[object (AssetImgsCo) {9}]
可选
assetFileVOList
array[object (AssetFileCo) {26}]
可选
sourcesList
array[object (AssetSourceCo) {32}]
可选
assetEpisodeVOList
array[object (AssetEpisodeCo) {19}]
可选
示例
{
"success": true,
"errCode": "string",
"errMessage": "string",
"requestId": "string",
"data": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"title": "string",
"aliasTitle": "string",
"tagIds": "string",
"tagName": [
"string"
],
"peopleTagName": [
"string"
],
"languageName": [
"string"
],
"areaName": "string",
"areaNames": [
"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,
"areas": "string",
"areaIds": [
0
],
"isDelete": 0,
"year": 0,
"languageIds": "string",
"sources": "string",
"peopleTagIds": "string",
"epUpdateTime": 0,
"desc": "string",
"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