getEnvironmentDirectorycontents
Gets the contents of a given directory in the file system
Requires authentication as administrator
getEnvironmentDirectorycontents
Request
get /Environment/DirectoryContents
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*Path | query | |||
IncludeFiles | query | An optional filter to include or exclude files from the results. true/false |
||
IncludeDirectories | query | An optional filter to include or exclude folders from the results. true/false |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | FileSystemEntryInfo [] | Operation successful. Returning a List
|
|
400 | Bad Request. Server cannot process request. |
||
401 | Unauthorized. Client needs to authenticate. |
||
403 | Forbidden. No permission for the reqested operation. |
||
404 | Resource not found or unavailable. |
||
500 | Server error. |
Definitions
FileSystemEntryInfo
Name | Type | Notes |
---|---|---|
Name | string | The name. |
Path | string | The path. |
Type | FileSystemEntryType | Enum FileSystemEntryType |
FileSystemEntryType
Enum Values
- File
- Directory
- NetworkComputer
- NetworkShare