Add endpoint for getting all docs