Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: 剧集评论的开放 API #526

Open
Him188 opened this issue Mar 31, 2024 · 0 comments
Open

[Feature Request]: 剧集评论的开放 API #526

Him188 opened this issue Mar 31, 2024 · 0 comments
Labels
enhancement New feature request

Comments

@Him188
Copy link

Him188 commented Mar 31, 2024

你想添加的新功能

API 获取剧集评论列表(吐槽箱), 最好还能有发送评论

你希望的解决方案

  • GET /episodes/{episodeId}/comments 返回 paged
  • POST /episodes/{episodeId}/comments
  • GET /comments/{commentId} 返回 detail
  • DELETE /comments/{commentId}
  • GET /comments/{commentId}/reactions 获取评论的表情
  • POST /comments/{commentId}/reactions 给别人的评论发一个表情

image

同理可增加 /subjects/...

其他可能的替代方案

开发者自行爬网页, 既麻烦又浪费服务器流量

其他相关信息

在写 app, 现在评论是刚需, 找了一圈没看到有 API
不会 go, 不过相对于去爬网页, 照着现有代码捣鼓一下也不是不能 PR...

@Him188 Him188 added the enhancement New feature request label Mar 31, 2024
@dt-code-top
Copy link

dt-code-top commented Apr 23, 2024

曾有相关PR #170 #188

L-time added a commit to L-time/server that referenced this issue May 29, 2024
refactor: refactor API routes with bangumi#526
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
None yet
Development

No branches or pull requests

2 participants