Find Library Deprecated
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
This is a request body class for an operation.
{
"spec": {
"name": "string",
"type": "LOCAL"
}
}
Authentication
Response
Response BodyResponse Body
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.
{
"value": [
"string"
]
}
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
com.vmware.vapi.std.errors.invalid_argument : if no properties are specified in the spec.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-new-method: post
x-vmw-doc-new-path: /api/content/library?action=find
x-vmw-doc-operation: find