Content Library find
Returns a list of all the visible (as determined by authorization policy) libraries matching the requested Content Library FindSpec.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
System.Read
.
Specification describing what properties to filter on.
{
"name": "string",
"type": "string",
"storage_backing": {
"type": "string",
"datastore_id": "string",
"storage_uri": "string"
}
}
Name of the library to search. The name is case-insensitive. See Content LibraryModel.name.
If not specified any name will be searched.
Library type to search. See Content LibraryModel.type.
For more information see: Content LibraryModel LibraryType.
If not specified any library type will be searched.
Library StorageBacking to search. See Content Library StorageBacking.
This property was added in vSphere API 9.0.0.0.
If not specified any storage backing will be searched.
The list of identifiers of all the visible libraries matching the given spec.
The response will contain identifiers for the resource type: com.vmware.content.Library
.
[
{}
]
if no properties are specified in the spec.
"Vapi Std Errors InvalidArgument Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/content/library?action=find