1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-04 23:37:46 +02:00
Vitaly the Alpaca (bot) d2f88b4a8e Main build (Jenkins)
2024-09-29 17:35:23 +03:00

783 B

sidebar_position
sidebar_position
3

Get object

Gets information about a disk object at the specified path

Function GetObject(Val Token, Val Path) Export

Parameter CLI option Type Description
Token --token String Token
Path --path String Path to folder or file

Returns: Map Of KeyAndValue - serialized JSON response from Yandex


    Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
    Path  = "/90663562-d505-474e-a778-e25c2cf50b4b.png";

    Result = OPI_YandexDisk.GetObject(Token, Path);
    
  oint yadisk GetObject --token "y0_AgAAAABdylaOAA..." --path "/Alpaca.png"