Skip to main content

Get list of published objects.

Gets a list of published objects

Function GetPublishedObjectsList(Val Token, Val Count = 0, Val OffsetFromStart = 0) Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
Count--amountNumberNumber of returned objects
OffsetFromStart--offsetNumberOffset for getting objects not from the beginning of the list
Returns

Map Of KeyAndValue - serialized JSON response from Yandex

1C:Enterprise/OneScript code example
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
Count = 2;
OffsetFromStart = 1;

Result = OPI_YandexDisk.GetPublishedObjectsList(Token, Count, OffsetFromStart);
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": 1780905601266087,
"comment_ids": {
"public_resource": "1573541518:421f7e66d4b9fa7256e4b2b9327c576d18b49393df919ba229a2e5ff42edae4c",
"private_resource": "1573541518:421f7e66d4b9fa7256e4b2b9327c576d18b49393df919ba229a2e5ff42edae4c"
},
"exif": {},
"antivirus_status": "clean",
"file": "https://downloader.disk.yandex.ru/disk/f8e09dbc989c10d8bbad4f3cbbcf3ae5804d94c17232bc497bc14a34cf6c137c/6a5d3db9/Kdpe3dFisZLPovVA4r-aBmpkby3AOQiLsayEHYapOMw2ylFGSbZZrsWtGPTvHxG_-QDrqSGFBOOsS3b3gKT1zA%3D%3D?uid=1573541518&filename=058005a9-ab90-44b8-981c-a8b08da247d5.png&disposition=attachment&hash=&limit=0&content_type=multipart&owner_uid=1573541518&fsize=2114023&hid=03d7263840468e281bd0b238a26e7d0d&media_type=image&tknv=v3&is_direct_zip_experiment=1&etag=9e0176f87f6565a22f78e0f9b39a4d78"
}
]
}