Get list of folder files
Gets the list of the first files in the directory or continues getting the next ones when the cursor is specified
Function GetListOfFolderFiles(Val Token, Val Path = "", Val Detailed = False, Val Cursor = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Token |
| Path | --path | String | ✖ | Path to the directory. Optional if the cursor is specified |
| Detailed | --detail | Boolean | ✖ | Add information fields for mediafiles |
| Cursor | --cursor | String | ✖ | Cursor from the previous request to get the next set of files |
Returns: HTTPResponse - Get list of folder files
1C:Enterprise/OneScript code example
Path = "/New";
Token = "sl.u.AGG5aTLuGA90YQ1PnpHDbu529G7ICUOi9ULsujugtECChcZoWl8kQo1WPmr1kU--PFAPQi1H6pDvlOHloEBiyH2rp9ekyy0RlyLvC-nQleUFZKYp_zn4D3kRIVij65lZjp0Jc_fp3Pi-gnywbcdHYWBY1suKhLIs-bLklI604EmAEZFSRJ8nAi-pa8syFlIz1wT-BesJ00f9f5u1pTLQ2xOhUceVq9tuPiK4U_jVhEOj1cD1aODKF2w1mG_uxnh49GE2YyXH9OCYFtaNRKDNY9VS4rTPDyJOUelZz9cSe6ucDpm3nK1oxA_mTDyavTaLUTz_DzM1geKstn_qq3ahnBBaXfd60VHPHTrwH3JUHRIRiGo8aSR1bY5YRrvXzTCN7moDVu7HzIN1WENBWkcRmqD-DgGg3qcq0D6TjuOZaEKAlJD6a-LySAeCtuu1Z7PB8ShCCnKq98qE_DmiOEEpuOzxEXh63oGROUNJF7T2eFj85pv4xIl6tM_ykEAx8prv6IFNss8V7heqBO0eR9VZi0E6mNJEV2OxC8nCN-2gKrtqtL3GZKnUZFk9C40-e0KCeFb4eHu9Mn4npch9Ir4gaAPwgmgsORxOHchztZ8Tq35mLeeF4bzT7bOhtiaeBvJPKTn8b5-yS2fcJQyOJYa4q1tBkqyj6VUaNJOZw8Uh7F13jNOZIkEQcaWcvVMNRCNVCdXIcjBc9jrfFq3AuZvrU3x6njisB5g...";
Result = OPI_Dropbox.GetListOfFolderFiles(Token, Path, True);
- Bash
- CMD/Bat
oint dropbox GetListOfFolderFiles \
--token "***" \
--path "/New" \
--detail true
oint dropbox GetListOfFolderFiles ^
--token "***" ^
--path "/New" ^
--detail true
Result
{
"entries": [
{
".tag": "file",
"name": "Dogs.mp3",
"path_lower": "/new/dogs.mp3",
"path_display": "/New/Dogs.mp3",
"id": "id:kJU6-a-pT48AAAAAAAAACA",
"client_modified": "2024-05-15T16:58:30Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc887bd841553",
"size": 9229352,
"is_downloadable": true,
"content_hash": "376f728ef041d9cef08406f16debc12de89d83130e69c66a817fd834d2d82dc2"
},
{
".tag": "file",
"name": "url_doc (1).docx",
"path_lower": "/new/url_doc (1).docx",
"path_display": "/New/url_doc (1).docx",
"id": "id:kJU6-a-pT48AAAAAAAALvg",
"client_modified": "2024-07-15T17:40:28Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc888bd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (2).docx",
"path_lower": "/new/url_doc (2).docx",
"path_display": "/New/url_doc (2).docx",
"id": "id:kJU6-a-pT48AAAAAAAA24g",
"client_modified": "2025-02-05T10:19:29Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc889bd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (3).docx",
"path_lower": "/new/url_doc (3).docx",
"path_display": "/New/url_doc (3).docx",
"id": "id:kJU6-a-pT48AAAAAAABDNA",
"client_modified": "2025-05-04T21:27:07Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88abd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (4).docx",
"path_lower": "/new/url_doc (4).docx",
"path_display": "/New/url_doc (4).docx",
"id": "id:kJU6-a-pT48AAAAAAABJpA",
"client_modified": "2025-07-01T17:39:19Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88bbd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (5).docx",
"path_lower": "/new/url_doc (5).docx",
"path_display": "/New/url_doc (5).docx",
"id": "id:kJU6-a-pT48AAAAAAABSFA",
"client_modified": "2025-08-17T10:03:28Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88cbd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (6).docx",
"path_lower": "/new/url_doc (6).docx",
"path_display": "/New/url_doc (6).docx",
"id": "id:kJU6-a-pT48AAAAAAABSTA",
"client_modified": "2025-08-31T15:14:04Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88dbd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (7).docx",
"path_lower": "/new/url_doc (7).docx",
"path_display": "/New/url_doc (7).docx",
"id": "id:kJU6-a-pT48AAAAAAABSaA",
"client_modified": "2025-08-31T16:29:58Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88ebd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (8).docx",
"path_lower": "/new/url_doc (8).docx",
"path_display": "/New/url_doc (8).docx",
"id": "id:kJU6-a-pT48AAAAAAABShA",
"client_modified": "2025-08-31T20:43:05Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc88fbd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "url_doc (9).docx",
"path_lower": "/new/url_doc (9).docx",
"path_display": "/New/url_doc (9).docx",
"id": "id:kJU6-a-pT48AAAAAAABUqg",
"client_modified": "2025-09-08T13:28:43Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc890bd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
},
{
".tag": "file",
"name": "mydoc.docx",
"path_lower": "/new/mydoc.docx",
"path_display": "/New/mydoc.docx",
"id": "id:kJU6-a-pT48AAAAAAAAABw",
"client_modified": "2024-05-14T16:49:41Z",
"server_modified": "2025-10-31T11:50:21Z",
"rev": "64272f86dc891bd841553",
"size": 24069,
"is_downloadable": true,
"content_hash": "8d63c5989ceec1a90f3fde2ffaa76efcd2c050191e6b55a1761e4e352590bd8c"
}
],
"cursor": "AARTEv-t8KSJgSG3nsMBSt7gvwWyLh7pEYxjRBtLiPXSZvy_pjJyk2whsDIWqVB1I3OhtuVmdzBl4lNjUtXJ_bR7yTh8TPcBETK_78_AgMYD9k3PNWnh1P_TmXFcrtU-crcosIn2RqfilPzaBnU7SHZKmb4_M9DOl59p_-K3M280QEY841vYWJZYELsFmQxmRglctfxwBjiIDJya8k2lTzdQ",
"has_more": false
}