Skip to main content

List Files Or Folders

Return file metadata or folder listing.

Parameters

ParameterDescription
PathThe absolute path of the file or folder.

Example Output

{
"name": "MyFolder",
"lastModified": 1554182069000,
"uploaded": 1554178564015,
"count": 0,
"offset": 0,
"path": "/Shared/MyDocuments/MyFolder",
"folder_id": "d7d56ebc-ce31-4ba8-a6b3-292ffb43f215",
"parent_id": "b0sceebc-2edl-ab56-lapq-fb11def11123",
"total_count": 2,
"is_folder": true,
"public_links": "files_folders",
"allow_links": true,
"restrict_move_delete": false,
"folders": [
{
"name": "subfolder1",
"lastModified": 1554185307000,
"uploaded": 1554185307326,
"path": "/Shared/MyDocuments/MyFolder/subfolder1",
"folder_id": "fc8cf940-1097-491e-bb9d-b55b5797331c",
"is_folder": true,
"parent_id": "d7d56ebc-ce31-4ba8-a6b3-292ffb43f215"
}
],
"files": [
{
"checksum": "244b99790dcc91ebc5862eb547c8179515b2369bb6db5aaa1ddd46bf0035e7ba3849ba1494b294b20b7c2a055a52d3a65ccab8a090f06cf40106528f6e23a91e",
"size": 238428,
"path": "/Shared/MyDocuments/MyFolder/info.pdf",
"name": "info.pdf",
"locked": false,
"is_folder": false,
"entry_id": "b563a343-184b-4bce-8331-25d2dfb8125a",
"group_id": "01dd4abd-983b-4104-bff6-e2ad44bff357",
"parent_id": "d7d56ebc-ce31-4ba8-a6b3-292ffb43f215",
"last_modified": "Tue, 02 Apr 2019 05:12:44 GMT",
"uploaded_by": "jsmith",
"uploaded": 1554182069464,
"num_versions": 1
},
{
"checksum": "7b275cfc0650d8cdfae4e11a4d149ce72fd65654e9aa56ec475eb51cbad898bbd0413edd7e49198563757b29aff21ade1e848b33cf2da8a47af2652d88ccbfbf",
"size": 9322,
"path": "/Shared/MyDocuments/MyFolder/document.gdoc",
"name": "document.gdoc",
"locked": true,
"is_folder": false,
"entry_id": "d32d4628-5346-44ce-8ae6-bce367e84e60",
"group_id": "7de6cdd8-2038-4a09-8935-9d07cf62197f",
"parent_id": "1d12e243-0ddb-432f-820d-8b250c0c0fdc",
"last_modified": "Mon, 23 Nov 2020 11:07:11 GMT",
"uploaded_by": "jsmith",
"uploaded": 1606129632000,
"num_versions": 3,
"lock_info": {
"collaboration": "ewogICJhcHBJZCIgOiAiZ2RvY3MiLAogICJpbnRlZ3JhdGlvbklkIiA6ICJnZG9jRWRpdGRvYyIKfQ==",
"owner_id": 1,
"first_name": "John",
"last_name": "Smith"
}
}
]
}

Workflow Library Example

List Files or Folders with Egnyte and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop