Hummingbird v1

FREE
By vikhyat | Updated 1ヶ月前 | Entertainment
Popularity

7 / 10

Latency

61ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Library info of single anime

Rapid account: Wietsedev
wietsedev
10年前

If I have an app with a details page I want to show the anime information, but also the library info (like status and watched episodes). I can get the anime info with /anime/id, but to get the library info I have to use /users/id/library which contains too much useless information (other series). Checking this every time causes too much traffic (and loading time for the user). Could you add the library stats to /anime/id?

Rapid account: Halvkant
halvkant Commented 10年前

+1

Rapid account: Halvkant
halvkant Commented 10年前

Along with my suggested change of names for libraries/anime_id (see issue#6) to /users/id/library/anime_id a GET request would solve this issue as well. Meaning a GET to /users/id/library for the entire library and to /users/id/library/anime_id for a single library entry.

Adding library stats to anime/id would be confusing as only information about the anime in question is expected at that request.

Rapid account: Wietsedev
wietsedev Commented 10年前

I just found out this isn’t needed. You can use /libraries/anime_id and just don’t send any parameters to change stuff.

Join in the discussion - add comment below:

Login / Signup to post new comments