mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-14 04:35:49 +02:00
Main build (Jenkins)
This commit is contained in:
parent
dafb4a360b
commit
af22ba1750
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1rCyOc4A8VYw7DM3HV55P9BuKWayJOSvW"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Name": "Description"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
{
|
||||
"Identifier": "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ"
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Identifier": "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ",
|
||||
"File": "https://openintegrations.dev/test_data/picture2.jpg"
|
||||
}
|
5
docs/en/data/GoogleDrive/UploadFile.json
Normal file
5
docs/en/data/GoogleDrive/UploadFile.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Token": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg",
|
||||
"Directory": "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.AddCalendarToList(Token, Calendar);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Name = "TestCalendar";
|
||||
|
||||
Result = OPI_GoogleCalendar.CreateCalendar(Token, Name);
|
||||
|
@ -1,5 +1,5 @@
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Name = "New event";
|
||||
Description = "TestEventDescription";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Name = "New name";
|
||||
Description = "New description";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
Description = "New event description";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
PrimaryColor = "#000000";
|
||||
SecondaryColor = "#ffd800";
|
||||
|
@ -1,2 +1,2 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Result = OPI_GoogleCalendar.GetCalendarList(Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetCalendarMetadata(Token, Calendar);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEventList(Token, Calendar);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetListCalendar(Token, Calendar);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
SourceCalendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
@ -1,7 +1,6 @@
|
||||
|
||||
NewName = "CopiedFile.jpeg";
|
||||
NewLocation = "1603PU_Hrkvj4HeFJKYSVxZJDRoGvd3SJ";
|
||||
Identifier = "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk";
|
||||
|
||||
Response = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewLocation) //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
NewName = "CopiedFile.jpeg";
|
||||
NewParent = "root";
|
||||
|
||||
Result = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewParent);
|
||||
|
@ -1,6 +1,5 @@
|
||||
|
||||
Identifier = "1rCyOc4A8VYw7DM3HV55P9BuKWayJOSvW";
|
||||
Comment = "NewComment";
|
||||
|
||||
Response = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
Comment = "Comment text";
|
||||
|
||||
Result = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment);
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.DeleteObject(Token, Identifier); //Map
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Result = OPI_GoogleDrive.DeleteObject(Token, Identifier);
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.DownloadFile(Token, Identifier); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Result = OPI_GoogleDrive.DownloadFile(Token, Identifier);
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
Name = "Description";
|
||||
Response = OPI_GoogleDrive.GetDirectoriesList(Token, Name, False); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Name = "TestFolder";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Result = OPI_GoogleDrive.GetDirectoriesList(Token, Name, True);
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.GetObjectInformation(Token, Identifier); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Result = OPI_GoogleDrive.GetObjectInformation(Token, Identifier);
|
||||
|
@ -1,7 +1,6 @@
|
||||
|
||||
NewName = "Updated file.jpeg";
|
||||
ReplacementImage = "C:\OPI\image2.jpg";
|
||||
Identifier = "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ";
|
||||
|
||||
Response = OPI_GoogleDrive.UpdateFile(Token, Identifier, ReplacementImage, NewName) //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
NewName = "UpdatedFile.jpg";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
File = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or Path to file
|
||||
|
||||
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);
|
||||
|
@ -1,11 +1,8 @@
|
||||
|
||||
Description = New Map;
|
||||
Description.Insert("MIME", "image/jpeg");
|
||||
Description.Insert("Name", "New file.jpg");
|
||||
Description.Insert("Description", "This is a new file");
|
||||
Description.Insert("Parent", "root");
|
||||
|
||||
Image = "C:\OPI\image.jpg";
|
||||
|
||||
Response = OPI_GoogleDrive.UploadFile(Token, Image, Description); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Description = OPI_GoogleDrive.GetFileDescription();
|
||||
Description.Insert("Parent", Directory);
|
||||
|
||||
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.AddCalendarToList(Token, Calendar);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
|
||||
|
@ -26,7 +26,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
PrimaryColor = "#000000";
|
||||
SecondaryColor = "#ffd800";
|
||||
|
@ -22,7 +22,7 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Result = OPI_GoogleCalendar.GetCalendarList(Token);
|
||||
```
|
||||
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetListCalendar(Token, Calendar);
|
||||
|
@ -22,7 +22,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
```
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Name = "TestCalendar";
|
||||
|
||||
Result = OPI_GoogleCalendar.CreateCalendar(Token, Name);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Name = "New name";
|
||||
Description = "New description";
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetCalendarMetadata(Token, Calendar);
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 4
|
||||
|
||||
```bsl title="Code example"
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Name = "New event";
|
||||
Description = "TestEventDescription";
|
||||
|
@ -24,7 +24,7 @@ sidebar_position: 7
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 6
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
Description = "New event description";
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEventList(Token, Calendar);
|
||||
|
@ -24,7 +24,7 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Event = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
SourceCalendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
@ -24,12 +24,11 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Identifier = "1rCyOc4A8VYw7DM3HV55P9BuKWayJOSvW";
|
||||
Comment = "NewComment";
|
||||
|
||||
Response = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
Comment = "Comment text";
|
||||
|
||||
Result = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment);
|
||||
```
|
||||
|
||||
|
||||
|
@ -25,13 +25,12 @@ sidebar_position: 7
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
NewName = "CopiedFile.jpeg";
|
||||
NewLocation = "1603PU_Hrkvj4HeFJKYSVxZJDRoGvd3SJ";
|
||||
Identifier = "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk";
|
||||
|
||||
Response = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewLocation) //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
NewName = "CopiedFile.jpeg";
|
||||
NewParent = "root";
|
||||
|
||||
Result = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewParent);
|
||||
```
|
||||
|
||||
|
||||
|
@ -23,10 +23,10 @@ sidebar_position: 9
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.DeleteObject(Token, Identifier); //Map
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Result = OPI_GoogleDrive.DeleteObject(Token, Identifier);
|
||||
```
|
||||
|
||||
|
||||
|
@ -24,11 +24,10 @@ sidebar_position: 6
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.DownloadFile(Token, Identifier); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Result = OPI_GoogleDrive.DownloadFile(Token, Identifier);
|
||||
```
|
||||
|
||||
|
||||
|
@ -24,10 +24,10 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Name = "Description";
|
||||
Response = OPI_GoogleDrive.GetDirectoriesList(Token, Name, False); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Name = "TestFolder";
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Result = OPI_GoogleDrive.GetDirectoriesList(Token, Name, True);
|
||||
```
|
||||
|
||||
|
||||
|
@ -23,11 +23,10 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Identifier = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Response = OPI_GoogleDrive.GetObjectInformation(Token, Identifier); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Identifier = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Result = OPI_GoogleDrive.GetObjectInformation(Token, Identifier);
|
||||
```
|
||||
|
||||
|
||||
|
@ -25,13 +25,12 @@ sidebar_position: 8
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
NewName = "Updated file.jpeg";
|
||||
ReplacementImage = "C:\OPI\image2.jpg";
|
||||
Identifier = "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ";
|
||||
|
||||
Response = OPI_GoogleDrive.UpdateFile(Token, Identifier, ReplacementImage, NewName) //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
NewName = "UpdatedFile.jpg";
|
||||
Identifier = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
File = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or Path to file
|
||||
|
||||
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);
|
||||
```
|
||||
|
||||
|
||||
|
@ -24,17 +24,14 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Description = New Map;
|
||||
Description.Insert("MIME", "image/jpeg");
|
||||
Description.Insert("Name", "New file.jpg");
|
||||
Description.Insert("Description", "This is a new file");
|
||||
Description.Insert("Parent", "root");
|
||||
|
||||
Image = "C:\OPI\image.jpg";
|
||||
|
||||
Response = OPI_GoogleDrive.UploadFile(Token, Image, Description); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
Token = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Description = OPI_GoogleDrive.GetFileDescription();
|
||||
Description.Insert("Parent", Directory);
|
||||
|
||||
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);
|
||||
```
|
||||
|
||||
|
||||
|
5
docs/ru/data/GoogleDrive/ЗагрузитьФайл.json
Normal file
5
docs/ru/data/GoogleDrive/ЗагрузитьФайл.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Картинка": "https://openintegrations.dev/test_data/picture.jpg",
|
||||
"Каталог": "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM"
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
{
|
||||
"НовоеИмя": "Обновленный файл.jpeg",
|
||||
"Идентификатор": "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ"
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ",
|
||||
"Файл": "https://openintegrations.dev/test_data/picture2.jpg",
|
||||
"НовоеИмя": "Обновленный файл.jpeg"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Имя": "Описание"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk",
|
||||
"НовоеИмя": "Скопированный файл.jpeg",
|
||||
"НовоеРасположение": "1603PU_Hrkvj4HeFJKYSVxZJDRoGvd3SJ",
|
||||
"Идентификатор": "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk"
|
||||
"НовоеРасположение": "1603PU_Hrkvj4HeFJKYSVxZJDRoGvd3SJ"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1rCyOc4A8VYw7DM3HV55P9BuKWayJOSvW"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"Токен": "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...",
|
||||
"Идентификатор": "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ДобавитьКалендарьВСписок(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
ОсновнойЦвет = "#000000";
|
||||
ДополнительныйЦвет = "#ffd800";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Наименование = "Новое наименование";
|
||||
Описание = "Новое описание";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Событие = "h51qr9dclbnie1hh633er26umo";
|
||||
Описание = "Новое описание события";
|
||||
|
@ -1,3 +1,3 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ОчиститьОсновнойКалендарь(Токен);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Событие = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
КалендарьИсточник = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ПолучитьКалендарьСписка(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ПолучитьМетаданныеКалендаря(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Событие = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Результат = OPI_GoogleCalendar.ПолучитьСписокКалендарей(Токен);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ПолучитьСписокСобытий(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Наименование = "Тестовый календарь";
|
||||
|
||||
Результат = OPI_GoogleCalendar.СоздатьКалендарь(Токен, Наименование);
|
||||
|
@ -1,5 +1,5 @@
|
||||
ТекущаяДата = OPI_Инструменты.ПолучитьТекущуюДату();
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Наименование = "Новое событие";
|
||||
Описание = "Описание тестового события";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.УдалитьКалендарь(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.УдалитьКалендарьИзСписка(Токен, Календарь);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Событие = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
@ -1,12 +1,8 @@
|
||||
|
||||
Описание = Новый Соответствие;
|
||||
Описание.Вставить("MIME" , "image/jpeg");
|
||||
Описание.Вставить("Имя" , "Новый файл.jpg");
|
||||
Описание.Вставить("Описание" , "Это новый файл");
|
||||
Описание.Вставить("Родитель" , "root");
|
||||
|
||||
Картинка = "C:\OPI\image.jpg";
|
||||
|
||||
Ответ = OPI_GoogleDrive.ЗагрузитьФайл(Токен, Картинка, Описание); //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Картинка = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Каталог = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Описание = OPI_GoogleDrive.ПолучитьОписаниеФайла();
|
||||
Описание.Вставить("Родитель", Каталог);
|
||||
|
||||
Результат = OPI_GoogleDrive.ЗагрузитьФайл(Токен, Картинка, Описание);
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
НовоеИмя = "Обновленный файл.jpeg";
|
||||
КартинкаЗамены = "C:\OPI\image2.jpg";
|
||||
Идентификатор = "1V0oaZh3qQZ7-wbARC8-vrErAFllsBGSJ";
|
||||
|
||||
Ответ = OPI_GoogleDrive.ОбновитьФайл(Токен, Идентификатор, КартинкаЗамены, НовоеИмя) //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
НовоеИмя = "Обновленный файл.jpg";
|
||||
Идентификатор = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
Файл = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Двоичные данные или Путь к файлу
|
||||
|
||||
Результат = OPI_GoogleDrive.ОбновитьФайл(Токен, Идентификатор, Файл, НовоеИмя);
|
||||
|
@ -1,6 +1,4 @@
|
||||
|
||||
Идентификатор = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Ответ = OPI_GoogleDrive.ПолучитьИнформациюОбОбъекте(Токен, Идентификатор); //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Идентификатор = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
|
||||
|
||||
Результат = OPI_GoogleDrive.ПолучитьИнформациюОбОбъекте(Токен, Идентификатор);
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
Имя = "Описание";
|
||||
Ответ = OPI_GoogleDrive.ПолучитьСписокКаталогов(Токен, Имя, Ложь); //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Имя = "Тестовая папка";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Результат = OPI_GoogleDrive.ПолучитьСписокКаталогов(Токен, Имя, Истина);
|
||||
|
@ -1,6 +1,4 @@
|
||||
|
||||
Идентификатор = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Ответ = OPI_GoogleDrive.СкачатьФайл(Токен, Идентификатор); //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Идентификатор = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Результат = OPI_GoogleDrive.СкачатьФайл(Токен, Идентификатор);
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
НовоеИмя = "Скопированный файл.jpeg";
|
||||
НовоеРасположение = "1603PU_Hrkvj4HeFJKYSVxZJDRoGvd3SJ";
|
||||
Идентификатор = "1F8pfXPgltiOG2fPv88uStwegYj1tRoFk";
|
||||
|
||||
Ответ = OPI_GoogleDrive.СкопироватьОбъект(Токен, Идентификатор, НовоеИмя, НовоеРасположение) //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Идентификатор = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
НовоеИмя = "Скопированный файл.jpeg";
|
||||
НовыйРодитель = "root";
|
||||
|
||||
Результат = OPI_GoogleDrive.СкопироватьОбъект(Токен, Идентификатор, НовоеИмя, НовыйРодитель);
|
||||
|
@ -1,7 +1,5 @@
|
||||
|
||||
Идентификатор = "1rCyOc4A8VYw7DM3HV55P9BuKWayJOSvW";
|
||||
Комментарий = "Новый комментарий";
|
||||
|
||||
Ответ = OPI_GoogleDrive.СоздатьКомментарий(Токен, Идентификатор, Комментарий); //Соответствие
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ); //Строка
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Идентификатор = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
Комментарий = "Текст комментария";
|
||||
|
||||
Результат = OPI_GoogleDrive.СоздатьКомментарий(Токен, Идентификатор, Комментарий);
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
Идентификатор = "1dg_MwwwPSPYT0p3y-8dvGWoapbwaaaaa";
|
||||
|
||||
Ответ = OPI_GoogleDrive.УдалитьОбъект(Токен, Идентификатор); //Соответствие
|
||||
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Идентификатор = "1A0oqifjQs0coHvFLF4BFr7hCmOJxETDe";
|
||||
|
||||
Результат = OPI_GoogleDrive.УдалитьОбъект(Токен, Идентификатор);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ДобавитьКалендарьВСписок(Токен, Календарь);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.УдалитьКалендарьИзСписка(Токен, Календарь);
|
||||
|
@ -26,7 +26,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
ОсновнойЦвет = "#000000";
|
||||
ДополнительныйЦвет = "#ffd800";
|
||||
|
@ -22,7 +22,7 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Результат = OPI_GoogleCalendar.ПолучитьСписокКалендарей(Токен);
|
||||
```
|
||||
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ПолучитьКалендарьСписка(Токен, Календарь);
|
||||
|
@ -22,7 +22,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ОчиститьОсновнойКалендарь(Токен);
|
||||
```
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Наименование = "Тестовый календарь";
|
||||
|
||||
Результат = OPI_GoogleCalendar.СоздатьКалендарь(Токен, Наименование);
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.УдалитьКалендарь(Токен, Календарь);
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Наименование = "Новое наименование";
|
||||
Описание = "Новое описание";
|
||||
|
@ -23,7 +23,7 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
|
||||
Результат = OPI_GoogleCalendar.ПолучитьМетаданныеКалендаря(Токен, Календарь);
|
||||
|
@ -25,7 +25,7 @@ sidebar_position: 4
|
||||
|
||||
```bsl title="Пример кода"
|
||||
ТекущаяДата = OPI_Инструменты.ПолучитьТекущуюДату();
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Наименование = "Новое событие";
|
||||
Описание = "Описание тестового события";
|
||||
|
@ -24,7 +24,7 @@ sidebar_position: 7
|
||||
|
||||
|
||||
```bsl title="Пример кода"
|
||||
Токен = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
|
||||
Токен = "ya29.a0AcM612z6H4poMFq_1-p1k1-QF7c-gwUkVSsqTdSkNphsLEOb5P6mIEka1HO6Qtpa8blAWg966f9g85FujqfIsORbwU-wVy_3xEHh5ycBg...";
|
||||
Календарь = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
|
||||
Событие = "h51qr9dclbnie1hh633er26umo";
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user