News for hackers. Stuff that matters.
Re:Microsoft REST API Guidelines by jayd16 on Friday November 22, 2019 @05:41PM (#21610879)
Seems like you could just use Delete with query params on the collection path. Is that not RESTful?
Re:Microsoft REST API Guidelines by JMTQp8lwXL on Friday November 22, 2019 @07:25PM (#21611516)
It doesn't really scale. There's a de-facto limit of 2,000 characters [0] in a URL. HTTP/1.1 is not opinionated about URL length, but practical implementations are.

If your ids are UUIDs, each has a length of 36. If your URL consisted of nothing but UUIDs, you could safely delete 55.5(repeating) of them.

[0]: https://stackoverflow.com/questions/417142/what-is-the-maxim...

Re:Microsoft REST API Guidelines by jimbobenfrance on Saturday November 23, 2019 @09:05AM (#21614155)
I usually implement this as Http delete with a json array of ids in the body.

Probably in violation of some standard, but seems sensible enough.