Find 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.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Specification describing what properties to filter on.
{
"name": "string",
"type": "LOCAL"
}
Name of the library to search. The name is case-insensitive. See LibraryModel.name. If not specified any name will be searched.
The LibraryModel.LibraryType enumerated type defines the type of a LibraryModel.
The type of a library can be used to determine which additional services can be performed with a library.
LOCAL : The library contents are defined and stored by the local Content Library Service installation.
A local library can be retrieved and managed via the LocalLibrary.
SUBSCRIBED : The library synchronizes its items and content from another published library.
A subscribed library can be retrieved and managed via the SubscribedLibrary.
Possible values are: LOCAL , SUBSCRIBED
Authentication
Response
Response BodyResponse Body
array
of
string of type application/json
The list of identifiers of all the visible libraries matching the given spec. The result will contain identifiers for the resource type: com.vmware.content.Library.
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: find