2282285  bulk docs endpoint

Implementation of bulk docs endpoint.
We should have an empty line at the end of all files.