Get 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.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the local library to return. The parameter must be an identifier for the resource type: com.vmware.content.Library.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
The LibraryModel instance associated with libraryId.
Errors
com.vmware.vapi.std.errors.invalid_element_type : if the library specified by libraryId is not a local library.
com.vmware.vapi.std.errors.not_found : if the library specified by libraryId does not exist.
‘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-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/com/vmware/content/local-library/id:{library_id}
x-vmw-doc-operation: get