bangumi / bangumi/server

POST /v0/users/-/collections/{subject_id} 修改收藏状态在时间线表现和网页修改不一致

Open
#856 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
679
Forks
77
Avg merge
12m
Merged PRs (30d)
7

Description

如果不在 Request body 写上 comment,时间线会不展示 comment,但收藏还保留着 comment。按照网页操作逻辑,只修改状态应该在时间线显示 comment?
示例:https://bgm.tv/user/inchei/timeline (2025-6-14)

Contributor guide

Open the contributing guide

Research direction

Start at the POST /v0/users/-/collections/{subject_id} endpoint and trace how the request body’s comment is handled when the collection status changes. Compare the API behavior with the linked timeline example from 2025-06-14 and verify whether an update without a comment should display the existing comment. Done means the timeline behavior matches the web operation consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.