You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/f8c33ea2-094d-4e57-97b3-806e5c27bd5a.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_OriginalFilePath"];
|
||||
|
||||
Result = OPI_YandexDisk.CancelObjectPublication(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = "/" + String(New UUID);
|
||||
|
||||
Result = OPI_YandexDisk.CreateFolder(Token, Path);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "/f8c33ea2-094d-4e57-97b3-806e5c27bd5a.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Original = FunctionParameters["YandexDisk_OriginalFilePath"];
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.CreateObjectCopy(Token, Original, Path, True);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/0eaac754-f8b1-4407-ab2d-80ecf7c73b6b.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_FileByURLPath"];
|
||||
|
||||
Result = OPI_YandexDisk.DeleteObject(Token, Path, False);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/ced52016-2220-4e04-aa8b-a6fc063d165e.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_PathForLink"];
|
||||
|
||||
Result = OPI_YandexDisk.DownloadFile(Token, Path);
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Result = OPI_YandexDisk.GetDiskInformation(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/ced52016-2220-4e04-aa8b-a6fc063d165e.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_PathForLink"];
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLink(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/rjIP3w63zqt1Zw";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
URL = FunctionParameters["YandexDisk_PublicURL"];
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLinkForPublicObject(Token, URL);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Count = 2;
|
||||
OffsetFromStart = 1;
|
||||
FilterByType = "image";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/0eaac754-f8b1-4407-ab2d-80ecf7c73b6b.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_FileByURLPath"];
|
||||
|
||||
Result = OPI_YandexDisk.GetObject(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/rjIP3w63zqt1Zw";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
URL = FunctionParameters["YandexDisk_PublicURL"];
|
||||
|
||||
Result = OPI_YandexDisk.GetPublicObject(Token, URL);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Count = 2;
|
||||
OffsetFromStart = 1;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "/f8c33ea2-094d-4e57-97b3-806e5c27bd5a.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Original = FunctionParameters["YandexDisk_OriginalFilePath"];
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.MoveObject(Token, Original, Path, True);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/f8c33ea2-094d-4e57-97b3-806e5c27bd5a.png";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Path = FunctionParameters["YandexDisk_OriginalFilePath"];
|
||||
|
||||
Result = OPI_YandexDisk.PublishObject(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/rjIP3w63zqt1Zw";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
URL = FunctionParameters["YandexDisk_PublicURL"];
|
||||
|
||||
Result = OPI_YandexDisk.SavePublicObjectToDisk(Token, URL);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Path1 = "/" + String(New UUID) + ".png";
|
||||
Path2 = "/" + String(New UUID) + ".png";
|
||||
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Image = FunctionParameters["Picture"]; // URL
|
||||
|
||||
TFN = GetTempFileName("png"); // Path
|
||||
CopyFile(Image, TFN);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Address = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Token = FunctionParameters["YandexDisk_Token"];
|
||||
Address = FunctionParameters["Picture"];
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.UploadFileByURL(Token, Path, Address);
|
||||
|
||||
Reference in New Issue
Block a user