Get list of published objects.
Gets a list of published objects
- Parameters
- Advanced call ?
Function GetPublishedObjectsList(Val Token, Val Count = 0, Val OffsetFromStart = 0) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Token |
| Count | --amount | Number | ✖ | Number of returned objects |
| OffsetFromStart | --offset | Number | ✖ | Offset for getting objects not from the beginning of the list |
Returns
Map Of KeyAndValue - serialized JSON response from Yandex
| 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
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
Count = 2;
OffsetFromStart = 1;
Result = OPI_YandexDisk.GetPublishedObjectsList(Token, Count, OffsetFromStart);
- Bash
- CMD/Bat
oint yadisk GetPublishedObjectsList \
--token "***" \
--amount 2 \
--offset 1
oint yadisk GetPublishedObjectsList ^
--token "***" ^
--amount 2 ^
--offset 1
Result
{
"limit": 2,
"offset": 1,
"items": [
{
"path": "disk:/OpenIntegrations",
"type": "dir",
"name": "OpenIntegrations",
"created": "2026-03-12T08:49:24+00:00",
"modified": "2026-03-12T08:49:24+00:00",
"public_key": "***",
"public_url": "https://yadi.sk/d/_paRtkfzIV-wGQ",
"resource_id": "1573541518:2fbe9407e86db710692960dae5780ebc0fd64015b5bdb7b9f00a285f05109dbe",
"revision": 1773309484819481,
"comment_ids": {
"public_resource": "1573541518:2fbe9407e86db710692960dae5780ebc0fd64015b5bdb7b9f00a285f05109dbe",
"private_resource": "1573541518:2fbe9407e86db710692960dae5780ebc0fd64015b5bdb7b9f00a285f05109dbe"
},
"exif": {}
},
{
"path": "disk:/058005a9-ab90-44b8-981c-a8b08da247d5.png",
"type": "file",
"name": "058005a9-ab90-44b8-981c-a8b08da247d5.png",
"created": "2026-05-16T17:02:44+00:00",
"modified": "2026-05-16T17:02:44+00:00",
"size": 2114023,
"mime_type": "multipart",
"md5": "9e0176f87f6565a22f78e0f9b39a4d78",
"sha256": "89f8eb42a35208a17c85036e17237b0aa0657e1841efa6171dc5acbc0dea9e18",
"public_key": "***",
"public_url": "https://yadi.sk/d/VHcpaq62pOHTew",
"media_type": "image",
"resource_id": "1573541518:421f7e66d4b9fa7256e4b2b9327c576d18b49393df919ba229a2e5ff42edae4c",
"revision": 1779414009383893,
"comment_ids": {
"public_resource": "1573541518:421f7e66d4b9fa7256e4b2b9327c576d18b49393df919ba229a2e5ff42edae4c",
"private_resource": "1573541518:421f7e66d4b9fa7256e4b2b9327c576d18b49393df919ba229a2e5ff42edae4c"
},
"exif": {},
"antivirus_status": "clean",
"file": "https://downloader.disk.yandex.ru/disk/5f7dac92cb2da7e92f8f7876011aa17a75821887d85c07e0e795bda15638f..."
}
]
}