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

957 B

sidebar_position
sidebar_position
5

Create folder

Creates an empty directory on the drive

Function CreateFolder(Val Token, Val Name, Val Parent = "") Export

Parameter CLI option Type Description
Token --token String Token
Name --title String Folder name
Parent --catalog String Parent

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token     = "ya29.a0AcM612wLdbBK14FR2SE0d3WHabYb8Xtppm0oKCcbVrecgsA-a5DfsgZ29stOw4hu84F_IpHbKTJocsm1WpjLQPBT5MJ6p8D7H1PKa_iT0...";
    Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
    Name      = "TestFolder";

    Result = OPI_GoogleDrive.CreateFolder(Token, Name, Directory);
    
  oint gdrive CreateFolder --token %token% --title "TestFolder" --catalog %catalog%