Function getLibraryStructureApi