[Feature Request]: 获取用户收藏相关API添加返回 `nsfw` 字段
Open
Beginner friendly
enhancement
- Dominant language
- Go
- Stars
- 679
- Forks
- 77
- Avg merge
- 12m
- Merged PRs (30d)
- 7
Description
**你想添加的新功能**
希望下面两个API新增支持返回 `nsfw` 字段
`/v0/users/{username}/collections`
`/v0/users/{username}/collections/{subject_id}`
**你希望的解决方案**
**其他可能的替代方案**
**其他相关信息**
Contributor guide
Research direction
Locate the handlers and response models for `/v0/users/{username}/collections` and `/v0/users/{username}/collections/{subject_id}`. Read any nearby tests or API definitions first, then verify that both collection responses include the `nsfw` field and that the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100