bangumi / bangumi/server

[Feature Request]: person related subject list 请求需要添加分页支持

Open
#562 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
679
Forks
77
Avg merge
12m
Merged PRs (30d)
7

Description

有些角色的参与条目非常多,比如
https://chii.in/person/128/works

https://api.bgm.tv/v0/persons/128/subjects
这个 API 的 response 有 1MB

同样的其他几个 relation 也有这个需要

Contributor guide

Open the contributing guide

Research direction

Start by reading the API entry point for /v0/persons/128/subjects and inspect how person-related subject responses are assembled. Define and verify pagination for that endpoint and the other related lists mentioned in the issue, with completion shown by bounded responses and tests covering page parameters and results.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
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.