Add a /time/batch(?) API for getting time info given a list of time IDs #29

Open
opened 2026-03-03 04:13:58 +00:00 by fiveman1 · 0 comments
Member

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.

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.
fiveman1 added the Kind/Feature label 2026-03-03 04:13:58 +00:00
itzaname added the
Priority
Low
4
label 2026-03-09 04:12:32 +00:00
Sign in to join this conversation.