This function returns a list of files contained in a specified folder.

Method |
URL |
Required authentication |
POST |
/V1/CMDB/Files/ |
Yes |
Name |
Description |
|---|---|
Token*required |
The token can be obtained by sending a POST request to the log in session endpoint and provide valid credentials. |
Body*required |
The body contains the following parameters: ▪folderid (string): The ID of the folder from which you want to get the files. Return the root folder (Public) if folderid is null. ▪fileTypes*(array): the file types you want to retrieve. There are three file types: ▪0: Folder ▪11: Map ▪21: Dashboard Example: { |
Parameter |
Type |
Description |
Example |
|---|---|---|---|
items |
array |
A list of folders and files. |
{ |
id |
string |
The ID of a folder in the file tree. |
|
name |
string |
The name of a file. |
|
originalId |
string |
The ID of a specific dashboard or file. (Used for Map or Dashboard type only.) |
|
type |
integer |
The type of a file. ▪0: Folder ▪11: Map ▪21: Dashboard |