ClickHelp User Manual
[API] Get Several Files
Returns information on files and folders located inside of the specified folder.
GET storage/{file-path}?filter={file-filter}&isRecursive={is-recursive}
Authentication
This request requires basic authentication.
Request Parameters
Path params
file-path |
string |
Folder path relative to the root, i.e., everything after ...resources/Storage/. |
---|
Query params
filter | string |
File name mask. Only the wildcard * is supported. |
---|---|---|
isRecursive | bool |
[optional] Whether to return all folders and files within recursively, i.e., retrieve all nested folders. false by default. |
Samples
Request sample
Bash (Unix Shell) |
curl --location -g --request GET 'https://{portal-url}/api/v1/storage/project-deep-space-exploration/info.png?format=base64&filter=*&isRecursive=true' |
Response body sample
JSON |
[ |
Response fields
fileName | File name and extension. |
---|---|
fileFullName | Full file name, including the base Storage/ folder. |
content | Base64-encoded file contents. |
modifiedBy | Login of the user the file was last modified by. |
modifiedOn | An ISO 8601 timestamp of the file modification date. GMT timezone. |
size | File size in bytes. |
isFolder | Whether the entity is a file or a folder. |