add get_structure_entries() method to rest