2282285  bulk docs endpoint

Implementation of bulk docs endpoint.
Let's add an assert to test the number of entities as well.