bangumi / bangumi/server

[Feature Request]: 人物/角色/章节的目录收藏

Open
#247 13 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
679
Forks
77
Avg merge
12m
Merged PRs (30d)
7

Description

目录项目只支持 `Subject` 类, 对于人物、角色、章节都是错误数据。

目前针对这三个项目,都是拿其 ID 去 subject 库中找。

添加到目录,也不支持这三个分类

Bug2:
[/v0/indices/{index_id}/subjects](https://bangumi.github.io/api/#/%E7%9B%AE%E5%BD%95/getIndexSubjectsByIndexId) 中缺少对类别(Subject,人物,角色,章节)的过滤 (对应数据库 Cat 字段)

Contributor guide

Open the contributing guide

Research direction

Start with the implementation and API documentation for /v0/indices/{index_id}/subjects, then trace the index-add and favorite paths mentioned in the issue. Check how the database Cat field represents Subject, character, person, and episode categories. Done means all four categories can be added to and retrieved from an index, with category filtering exposed by the endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.