You can filter the list of content libraries and retrieve only the libraries that match your specific criteria. For example, you might want to publish all local libraries with a specific name.

To a filter with specific search criteria, call the find (find_spec) function of the Library service. Pass as argument a LibraryTypes.FindSpec instance that contains your search criteria. Upon a successful completion of the call, you receive a list of all content libraries that match your search criteria.