List folder contents
GET https://{{hub}}/file/{{org_id}}/files?path=/{{top_level_folder}}/{{subfolder_path}}/
The bearer token is scoped to the top level folder, so this folder with its /
prefix, must always be included at the beginning of the path parameter.
To request a listing of a subfolder, include the series of subfolders, separated by the /
character, after the root folder.
Path parameter values must be URL-encoded.
Note that ORG_ID is a path variable for the uuid allocated to the customer.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
path | string |
RESPONSES
status: OK
{"name":"/FOLDER/SUBFOLDER_PATH/","self":"https://HUB/file/ORG_ID/files?path=/FOLDER/SUBFOLDER_PATH","children":[{"name":"assay.csv","link":"https://HUB/file/ORG_ID/files/FOLDER/SUBFOLDER_PATH/assay.csv","size":509817,"created_at":"2022-07-28T02:34:38+00:00"},{"name":"collar.csv","link":"https://HUB/file/ORG_ID/files/FOLDER/SUBFOLDER_PATH/collar.csv","size":3610,"created_at":"2022-07-27T23:37:18+00:00"}]}