获取歌曲列表
Changed on获取歌曲列表,支持按类型过滤、关键词搜索和分页。默认排除隐藏歌单里的歌,传 exclude_playlist_labels=none 显示全部
Request
- Base URL: https://localhost:58091/api/v1
- URL: https://localhost:58091/api/v1/songs
- Auth: API key in header Authorization
Query parameters
歌曲类型
搜索关键词
按 file_path 前缀过滤(如 music/Pop)
按流派精确过滤
按歌手精确过滤
按专辑精确过滤
按语种精确过滤
按风格精确过滤
按发行年份精确过滤
按年代过滤(起始年,如 1990 匹配 1990-1999)
排除属于这些 label 歌单的歌曲(逗号分隔), 默认 hidden; 传 none 显示全部
每页数量
偏移量
排序字段,缺省 added_at
排序方向,缺省 desc
Response
成功返回歌曲列表
Changes
- info
added the new optional
queryrequest parameteralbum - info
added the new optional
queryrequest parameterartist - info
added the new optional
queryrequest parameterdecade - info
added the new optional
queryrequest parametergenre - info
added the new optional
queryrequest parameterlanguage - info
added the new optional
queryrequest parameterstyle - info
added the new optional
queryrequest parameteryear
- info
- info
the endpoint scheme security
BearerAuthwas added to the API - info
api tag
歌曲管理added - info
added the new optional
queryrequest parameterexclude_playlist_labels - info
added the new optional
queryrequest parameterkeyword - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameteroffset - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterpath_prefix - info
added the new optional
queryrequest parametersort - info
added the new optional
queryrequest parametertype - info
added the non-success response with the status
- info
added the success response with the status
- info