Skip to content

收藏的专栏

调用此接口,可获取收藏的专栏

接口信息

项目
接口地址/topic/sublist
请求方式GET / POST
需要登录
对应模块topic_sublist
文档分类社交与消息

请求参数

参数类型必填默认值说明
limitnumber | string50取出歌单数量,默认为 50
offsetnumber | string-偏移数量,用于分页,如:(评论页数 - 1)*50, 其中 50 为 limit 的值

HTTP 示例

bash
GET /topic/sublist?limit=2&offset=1

编程式调用

ts
import { topicSublist } from 'hana-music-api'

const result = await topicSublist({
  limit: '2',
  offset: '1',
})

console.log(result.body)

补充说明

说明 : 调用此接口,可获取收藏的专栏

可选参数 :

limit: 取出歌单数量,默认为 50

offset: 偏移数量,用于分页,如:(评论页数 - 1)*50, 其中 50 为 limit 的值

接口地址 : /topic/sublist

调用例子 : /topic/sublist?limit=2&offset=1

Released under the MIT License.