歌单管理

获取歌单中的歌曲

获取指定歌单中的歌曲,支持分页、排序和搜索 title 为歌曲名称;title/artist/album 按不区分大小写的拼音字母序排列,忽略首尾空白;中英文混排,多音字使用字典默认读音。先对全部匹配歌曲排序再分页,排序键相同时按歌单 position 同方向排列。

get/playlists/{id}/songs

Request

  • Base URL: https://localhost:58091/api/v1
  • URL: https://localhost:58091/api/v1/playlists/{id}/songs
  • Auth: API key in header Authorization

Path parameters

idinteger required

歌单 ID

Query parameters

limitinteger

每页数量

offsetinteger

偏移量

sortstring

排序字段: position(默认)/added_at/title/artist/album/duration/updated_at/file_modified_at/file_size

orderstring

排序方向: asc(默认)/desc

keywordstring

搜索关键词(匹配标题/艺术家/专辑)

Response

成功返回歌曲列表

object required

Changes

No recorded changes to this operation across all 166 revisions of this API.