更新歌单描述
登录后调用此接口,可以单独更新用户歌单描述
接口信息
| 项目 | 值 |
|---|---|
| 接口地址 | /playlist/desc/update |
| 请求方式 | GET / POST |
| 需要登录 | 是 |
| 对应模块 | playlist_desc_update |
| 文档分类 | 歌单 |
请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | ✅ | - | 歌单id |
desc | string | ✅ | - | 歌单描述 |
HTTP 示例
bash
GET /playlist/desc/update?id=24381616&desc=描述编程式调用
ts
import { playlistDescUpdate } from 'hana-music-api'
const result = await playlistDescUpdate({
id: '24381616',
desc: '描述',
})
console.log(result.body)补充说明
说明 : 登录后调用此接口,可以单独更新用户歌单描述
必选参数 :
text
id:歌单id
desc:歌单描述接口地址 : /playlist/desc/update
调用例子 : /playlist/desc/update?id=24381616&desc=描述