Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceGetTree
Returns the tree structure of the Resource (if the type of the resource is "directory_file" or "directory_object")
Declaration
public string ResourceGetTree ( string apiKey, string resourceName, string parentFolder, bool includeSubDirectories, bool includeFiles );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
resourceName | The name of the resource | |
parentFolder | The folder where to start listing contents | |
includeSubDirectories | bool | If true, the tree also contains the directories under parentFolder |
includeFiles | bool | If true, the tree structure is returned including files (ResourceItems) |
Returns
A valid XML string
Security rights needed
Browse
Apply on resource
Resource from function parameter resourceName