Add a /time/batch(?) API for getting time info given a list of time IDs #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'd like an endpoint for loading time info for a given list of time IDs. Similar to /time/placement except it returns the data that /times does.
One use case I have is that I'd like to implement a hub for replays where you can sort by most viewed/liked (I just added a way to track how many times a replay/time is viewed and I will add likes soon probably).
Because these are all time IDs, in order to display them in a meaningful way, I need to actually load the information about them. Currently there isn't a good way to do that with the public API. I know that I could cache the replay/time info myself, but this seems like a good use case for the public API and I imagine that loading times by ID should be a fast operation.