[Feature Request]:为GET /v0/subjects/{subject_id}接口添加批量获取条目的功能
Open
enhancement
- Dominant language
- Go
- Stars
- 679
- Forks
- 77
- Avg merge
- 12m
- Merged PRs (30d)
- 7
Description
**你想添加的新功能**
希望能为[/v0/subjects/{subject_id}]接口添加批量获取条目的功能,或者新增一个使用id批量获取条目的接口
GET [/v0/subjects/{subject_id}]这个接口目前只能一次请求得到一个条目,如果有多个id,想要获取它们对应的条目,目前只能通过串行或者并发请求,前者费时后者容易被ban
可能可以参考的接口效果:
[vndb api](https://api.vndb.org/kana#list-of-identifiers)
Contributor guide
Research direction
Start at the GET /v0/subjects/{subject_id} entry point and review how it currently retrieves one subject. Compare the requested batch behavior with the linked VNDB list-of-identifiers API, then define the request and response shape and verify that multiple subject IDs can be retrieved without requiring separate requests.
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
- 45/100