List Item
Returns the identifiers of all items in the given 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
Query Parameters
Query Parameters
Identifier of the library whose items should be returned. 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
array
of
string
of type application/json
The list of identifiers of the items in the library specified by libraryId. The result will contain identifiers for the resource type: com.vmware.content.library.Item.
Errors
com.vmware.vapi.std.errors.not_found : if the library associated with 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/library/item
x-vmw-doc-operation: list