You can use the list method of the Item object to retrieve a list of all items in a particular library.

Prerequisites

Verify that you have access to the Item service.

Procedure

  1. Retrieve the ID of the content library whose items you want to list.
  2. List the items of the specific library.
  3. Retrieve a list of the files that belong to a library item.

Example

You can see an example query operation in the code example for Edit the Settings of a Library Item. The beginning of the example lists the items of a published library and prints a list with the names and size of each file in the listed items.