Content Local Library APIs

Content Local Library APIs

The LocalLibrary service manages local libraries. The LocalLibrary service provides support for creating and maintaining local library instances. A local library may also use the Library service to manage general library functionality.

Operations
POST
Create Content Local Library
Creates a new local library. if you do not have all of the privileges described as follows: - Operation execution requires ContentLibrary.CreateLocalLibrary. - The resource Datastore referenced by the attribute StorageBacking.datastore-id requires Datastore.AllocateSpace.
GET
List Content Local Library
Returns the identifiers of all local libraries in the Content Library. if you do not have all of the privileges described as follows: - Operation execution requires System.Read.
DELETE
Delete Library Id Content Local Library
Deletes the specified local library. Deleting a local library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal. 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.DeleteLocalLibrary.
GET
Get Library Id Content Local Library
Returns a given local library. 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 Local Library
Updates the properties of a local library. This is an incremental update to the local library. Fields that are unset in the update specification will be left unchanged. 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.UpdateLocalLibrary.
POST
Publish Library Id Local Library
Publishes the library to specified subscriptions. If no subscriptions are specified, then publishes the library to all its subscriptions. 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.PublishLibrary.