@endpoint(u'/ajax/library-info', postprocess=json)
def library_info(ctx, rd):
 (library_map, default_library) = ctx.library_info(rd)
 return {u'library_map': library_map, u'default_library': default_library}

@ endpoint ( u'/ajax/library-info' , postprocess = json ) def library_info ( ctx , rd ) : ( library_map , default_library ) = ctx . library_info ( rd ) return { u'library_map' : library_map , u'default_library' : default_library }
return info about available libraries .