Re:Ask HN: Are batch endpoints a good pattern in REST APIs?
by UK-Al05 on Thursday September 02, 2021 @09:02AM
(#28391527)
It's not ideal. I would push back if I could.
But you could create a job style api, where they submit a batch, and you return a id back. Then they check the status of the batch by a get on the job id.
But you could create a job style api, where they submit a batch, and you return a id back. Then they check the status of the batch by a get on the job id.