added api call to get batch's docs.
added views for batch's docs.
Merge pull request #3 from lemonpole/view-assignment

View assignment