Hummingbird v1

KOSTENLOS
Durch vikhyat | Aktualisiert एक महीने पहले | Entertainment
Popularität

5.4 / 10

Latenz

109ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

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.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen