Get object information
Gets information about a file or directory
- Parameters
- Advanced call ?
Function GetObjectInformation(Val Token, Val Path, Val Detailed = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Token |
| Path | --path | String | ✔ | Path to the object |
| Detailed | --detail | Boolean | ✖ | Add information fields for mediafiles |
Returns
Map Of KeyAndValue - serialized JSON response from Dropbox
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Path = "/New/pic.png";
Token = "sl.u.AGHisBACq5S_OZLr0m5nlPclkUHTuC7bAcgx3qLD4RSIOG5yZu6wao8-mXwEbhs-TC10gz2EnYJ0qnIbRIXAc5jF7-zCyw_9T9sJEQcuhb30g9b3M_s1gwf0Q5i2URlUF4mEJS1EpG50Dk9mH7NpV86q1Ww4P3EoF-zKI4UT6_zwhAixwV7CEDZttPL1sddquXuUIFynYHnnUlwx4W9ZYr7WuZVKBuJUnWzqdBuDnps0vABsr0lrZJtIx6xWKKyC9n3GQkJHr0jNoXx5OLPKFDLzuRK7azj57SJn4OebZ66ZyL-EpIQPaySFlu44IPvPWgi6bHJhLYPozUp3TmXdun6j4ydleevhoJcEuDfc1XuaF-Vr77ZRs6ab6NCgXufbzlim7vi2MB-GiSm6wXuBAknWqiMT4GudYhPSKCDeFJbQWk3a1tOzV0LpAaG2e3kDQTysjtQtPgQaqgw0ntx0Gmm79z76vrXP4EyXMnRsP4qJnTxROtQPBXFrsPo4n4SfYHCvJasa77mMqWeZESfwezDehGhG8Rkhw-PIJX7VaGvJZv1IR2ziy_n1toMbug6sewy1leCD2CmPZy5MOX5bWWmsiETf3rGBfB7QTFnO04J77U15tVCc53yN-1pB6HuOQB7L_xJLBUKxMJCI96oVnAP7uTP4K1VBkI6CVAVg1rIR2PT9RKTotrWhMGFmPpSrU2muAsgy6AHbalhikVFnw6JgV8t0saz...";
Result = OPI_Dropbox.GetObjectInformation(Token, Path, True);
- Bash
- CMD/Bat
oint dropbox GetObjectInformation \
--token "***" \
--path "/New/pic.png" \
--detail true
oint dropbox GetObjectInformation ^
--token "***" ^
--path "/New/pic.png" ^
--detail true
Result
{
".tag": "file",
"client_modified": "***",
"content_hash": "0f3b18c255b0f252bd326cacc04c15c3aa57bd6b8234adb65aa7bb2987a65492",
"id": "id:kJU6-a-pT48AAAAAAAB0ZA",
"is_downloadable": true,
"name": "pic.png",
"path_display": "/New/pic.png",
"path_lower": "/new/pic.png",
"property_groups": [],
"rev": "652b903e1c891bd841553",
"server_modified": "2026-05-26T14:07:27Z",
"size": 2114023
}