The enumerateFiles() method provides a way to list files and directories in your Library.
Input
session_id [xsd:string] (required)
Your API session id.
base_directory [xsd:string]
Directory within your Library whose files are to be listed (defaults to root Library directory “/”, known as “My Images” in the web application).
recurse_subdirectories [xsd:boolean]
Whether to recurse subdirectories in listing (defaults to false).
Output
[vrtypens:ArrayOfFileSpec]
Examples
Perl
$vrapi->enumerateFiles( { session_id => $sid, base_directory => '/logos', recurse_subdirectories => 1, } );
PHP
$vrapi->enumerateFiles( array( 'session_id' => $sid, 'base_directory' => '/logos', 'recurse_subdirectories' => 1, ) );