News for hackers. Stuff that matters.
Re:Ask HN: Are batch endpoints a good pattern in REST APIs? by kojeovo on Thursday September 02, 2021 @12:47PM (#28394334)
Check the amazon ads api. They allow for updating keyword bids in bulk for example. You can send between 1-1000 results and you get back an HTTP 207

I've also seen this done async. You send a request, get back a 202 with an ID, and then poll another endpoint with the ID for the result.

There are no comments on this comment yet.