Library APIs

Library APIs

The Library service provides operations to manage and find LibraryModel entities. The Library service provides support for generic functionality which can be applied equally to all types of libraries. The functionality provided by this service will not affect the properties specific to the type of library. See also LocalLibrary and SubscribedLibrary.

Operations
POST
Find Content Library
Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Library.FindSpec. if you do not have all of the privileges described as follows: - Operation execution requires System.Read.
GET
Get Library Id Content
Returns a given LibraryModel. if you do not have all of the privileges described as follows: - The resource com.vmware.content.Library referenced by the parameter libraryId requires System.Read.
PATCH
Update Library Id Content
Updates the properties of a library. This is an incremental update to the library. Any field in the LibraryModel structure that is unset will not be modified. This operation will only update the common properties for all library types. This will not, for example, update the LibraryModel.publish-info of a local library, nor the LibraryModel.subscription-info of a subscribed library. Specific properties are updated in LocalLibrary.update and SubscribedLibrary.update. if you do not have all of the privileges described as follows: - The resource com.vmware.content.Library referenced by the parameter libraryId requires ContentLibrary.UpdateLibrary.
GET
List Content Library
Returns the identifiers of all libraries of any type in the Content Library. if you do not have all of the privileges described as follows: - Operation execution requires System.Read.