content library item: list

Returns the identifiers of all items in the given library.

Request:

HTTP request

GET https://{server}/rest/com/vmware/content/library/item

?library_id=obj-103

Request Query Parameters:

Name Type Description
bold = required
library_id string Identifier of the library whose items should be returned.

Response:

HTTP Status Code: 200

Representations:

{
    "value"[
        "obj-103",
        "obj-103"
    ]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/content/library/item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>obj-103</array-item>
    <array-item>obj-103</array-item>
  </value-array>
</ns0:List-Result>

Response Type:

Name Type Description
bold = required
value string[] The array of identifiers of the items in the library specified by library_id.

Errors:

HTTP Status Code Type Description
404 not_found if the library associated with library_id does not exist.