Api build in play2  for Regal – repository for electronic documents and bibliographic data