added api to fetch all documents, first document & reference name of document - very specific out usecase