- 使用须知
- 首页中心
- 登录
- 个人中心
- 视频中心
- 通用
获取电台详情
开发中
POST
/dj/detail
请求参数
Query 参数
rid
string
可选
示例值:
336355127
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:3000/dj/detail?rid=336355127'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
null
必需
data
object
必需
id
integer
必需
name
string
必需
dj
object
必需
picId
integer
必需
picUrl
string
必需
desc
string
必需
subCount
integer
必需
shareCount
integer
必需
likedCount
integer
必需
programCount
integer
必需
commentCount
integer
必需
createTime
integer
必需
categoryId
integer
必需
category
string
必需
secondCategoryId
integer
必需
secondCategory
string
必需
radioFeeType
integer
必需
feeScope
integer
必需
lastProgramCreateTime
integer
必需
lastProgramId
integer
必需
rcmdText
string
必需
subed
boolean
必需
commentDatas
array [object {5}]
必需
feeInfo
null
必需
unlockInfo
null
必需
original
boolean
必需
playCount
integer
必需
privacy
boolean
必需
disableShare
boolean
必需
icon
null
必需
activityInfo
null
必需
toplistInfo
null
必需
dynamic
boolean
必需
labelDto
null
必需
labels
null
必需
detailRcmdTabOrpheus
string
必需
toast
null
必需
示例
{
"code": 200,
"msg": null,
"data": {
"id": 336355127,
"name": "代码时间",
"dj": {
"defaultAvatar": false,
"province": 1000000,
"authStatus": 0,
"followed": false,
"avatarUrl": "http://p1.music.126.net/BBK9kY31geOOdnkaxiwCdw==/3442570909917251.jpg",
"accountStatus": 0,
"gender": 1,
"city": 1002400,
"birthday": -2209017600000,
"userId": 289680033,
"userType": 0,
"nickname": "代码时间",
"signature": "代码时间是一个面向程序员的中文播客节目, 致力于通过语音的方式传播程序员的正能量. 节目的网站是: http://codetimecn.com | 新浪微博 ID: 代码时间 | 微信公众号 ID: 代码时间",
"description": "",
"detailDescription": "",
"avatarImgId": 3442570909917251,
"backgroundImgId": 2002210674180199,
"backgroundUrl": "http://p1.music.126.net/VTW4vsN08vwL3uSQqPyHqg==/2002210674180199.jpg",
"authority": 0,
"mutual": false,
"expertTags": null,
"experts": null,
"djStatus": 10,
"vipType": 0,
"remarkName": null,
"authenticationTypes": 0,
"avatarDetail": null,
"backgroundImgIdStr": "2002210674180199",
"avatarImgIdStr": "3442570909917251",
"anchor": false,
"rewardCount": 0,
"canReward": false
},
"picId": 3442570909917251,
"picUrl": "https://p1.music.126.net/BBK9kY31geOOdnkaxiwCdw==/3442570909917251.jpg",
"desc": "",
"subCount": 15400,
"shareCount": 167,
"likedCount": 0,
"programCount": 36,
"commentCount": 2,
"createTime": 1465726085482,
"categoryId": 11,
"category": "知识",
"secondCategoryId": 3099098,
"secondCategory": "行业观察",
"radioFeeType": 0,
"feeScope": 0,
"lastProgramCreateTime": 1515962230660,
"lastProgramId": 1367665101,
"rcmdText": "程序员的中文播客节目",
"subed": false,
"commentDatas": [
{
"userProfile": {
"defaultAvatar": false,
"province": 410000,
"authStatus": 0,
"followed": false,
"avatarUrl": "http://p1.music.126.net/H6wnDK1qS8ItYPQgXxXDdQ==/109951165587991924.jpg",
"accountStatus": 0,
"gender": 1,
"city": 410100,
"birthday": 935252436559,
"userId": 303576830,
"userType": 0,
"nickname": "BernardoLi",
"signature": "",
"description": "",
"detailDescription": "",
"avatarImgId": 109951165587991920,
"backgroundImgId": 109951165588063840,
"backgroundUrl": "http://p1.music.126.net/72c1Tr5Hgt6LrvN2HE_eBA==/109951165588063847.jpg",
"authority": 0,
"mutual": false,
"expertTags": null,
"experts": null,
"djStatus": 0,
"vipType": 0,
"remarkName": null,
"authenticationTypes": 0,
"avatarDetail": null,
"backgroundImgIdStr": "109951165588063847",
"avatarImgIdStr": "109951165587991924",
"anchor": false,
"avatarImgId_str": "109951165587991924"
},
"content": "声音太小,程序员都近视,听不清。",
"programName": "Visual Studio Code - 吕鹏",
"programId": 1367665101,
"commentId": 1256331303
}
],
"feeInfo": null,
"unlockInfo": null,
"original": true,
"playCount": 0,
"privacy": false,
"disableShare": false,
"icon": null,
"activityInfo": null,
"toplistInfo": null,
"dynamic": false,
"labelDto": null,
"labels": null,
"detailRcmdTabOrpheus": "orpheus://rnpage?component=rn-podcast-voicelist-recmd&radioId=336355127",
"toast": null
}
}
修改于 2023-07-29 08:59:52