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?
Únase a la conversación, añada un comentario a continuación:
+1
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.
I just found out this isn’t needed. You can use /libraries/anime_id and just don’t send any parameters to change stuff.