Skip to main content

File Directory GetAll

Returns all files of a configured directory. You should bind this action to an operation i.e. GET /files.

Configuration

file_directory_get_all

Directory

The base directory.

Execute

This action reads the configured directory and returns all files as collection response. The action handles the following query parameters:

ParameterDescription
startIndexThe start index
sortOrderSort the files by name either ASC or DESC
filterOpThe filter roperator must be one of contains, equals or startsWith
filterValueThe filter value

Response

{
"totalResults": 1,
"itemsPerPage": 16,
"startIndex": 0,
"entry": [
{
"id": "e13fe597-537e-36c2-b99a-d652c3021a36",
"fileName": "test_semicolon.csv",
"size": 19,
"contentType": "text\/plain",
"sha1": "759c145ff96ed97db41dfa923a0a9fa71f058dbe",
"lastModified": "0000-00-00T00:00:00+00:00"
}
]
}