歌曲管理
批量设置歌曲评级
Changed on按 ID 列表批量设置评级(0-100;0 表示清除评级)。列表中不存在的 ID 静默跳过,updated 返回实际更新数量。评级仅存数据库,不写入音频文件标签。
post/songs/batch-rating
Request
- Base URLhttps://localhost:58091/api/v1
- AuthAPI key in header Authorization
Request body
Example request
{
"ids": [
1
],
"rating": 80
}Response
成功返回 {updated}
Example response
{
"updated": 2
}Changes
- info
endpoint added
- info