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

feat: api get episode collection #194

Merged
merged 26 commits into from
Jul 23, 2022

Conversation

trim21
Copy link
Contributor

@trim21 trim21 commented Jul 20, 2022

Get User Episode Collection Info

GET /v0/users/-/collections/-/episodes/{episode_id}

Request Body:

{
  "episode:": {
同之前API的章节数据
},
  "type": $type
}

close #

@codecov
Copy link

codecov bot commented Jul 20, 2022

Codecov Report

Merging #194 (61e1d5f) into master (7db829d) will decrease coverage by 0.30%.
The diff coverage is 34.74%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
- Coverage   47.96%   47.66%   -0.31%     
==========================================
  Files         152      155       +3     
  Lines        6248     6357     +109     
==========================================
+ Hits         2997     3030      +33     
- Misses       2940     3009      +69     
- Partials      311      318       +7     
Impacted Files Coverage Δ
internal/web/handler/episode.go 11.66% <0.00%> (ø)
internal/web/req/page.go 35.48% <ø> (ø)
...nternal/web/handler/user/get_episode_collection.go 13.63% <13.63%> (ø)
internal/collection/mysql_repo.go 59.18% <35.00%> (-5.38%) ⬇️
internal/web/handler/common/middleware.go 40.00% <40.00%> (ø)
internal/collection/mysql_repo_compat.go 80.00% <80.00%> (ø)
internal/app/query/query.go 100.00% <100.00%> (ø)
internal/web/handler.go 87.50% <100.00%> (+0.24%) ⬆️
...nternal/web/handler/user/get_subject_collection.go 45.94% <100.00%> (ø)
internal/web/res/topic.go 0.00% <0.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7db829d...61e1d5f. Read the comment docs.

@trim21 trim21 marked this pull request as ready for review July 22, 2022 16:16
@trim21 trim21 merged commit 7af4581 into bangumi:master Jul 23, 2022
@trim21 trim21 deleted the feature/api-get-episode-collection branch July 23, 2022 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant