Creating collection of resources


#1

I have a scenario where i have to provision clients to request creation of multiple instances of same resource i.e., creating collection of resources.
One solution is iterative creating each instance, however I am much interested to know if there is a way jsonapi recommends/supports this behavior.


#2

A classic joke with REST is “the answer to every question is “make another resource”.” So you could make a new resource, that when you create it, it creates the whole collection of other resources.

We are talking about how to do more specific “bulk operations” but it’s not done yet.


#3

Thanks much. This really helps, however would like to wait and see if this comes as next version of JSON API specification.