mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
Форматирование примеров кода в доках
This commit is contained in:
parent
9b03afc3fd
commit
96b8f7f71e
41
.github/workflows/os/docs_main.os
vendored
41
.github/workflows/os/docs_main.os
vendored
@ -450,7 +450,7 @@
|
|||||||
|
|
||||||
Функция ПолучитьВызов1С(Модуль, Метод)
|
Функция ПолучитьВызов1С(Модуль, Метод)
|
||||||
|
|
||||||
ВозвращаемыйТекст = "";
|
Результат = "";
|
||||||
|
|
||||||
ИмяКаталога = СтрЗаменить(Модуль, "OPI_", "");
|
ИмяКаталога = СтрЗаменить(Модуль, "OPI_", "");
|
||||||
ИмяФайла = Метод + ".txt";
|
ИмяФайла = Метод + ".txt";
|
||||||
@ -461,11 +461,28 @@
|
|||||||
Если ФайлПримера.Существует() Тогда
|
Если ФайлПримера.Существует() Тогда
|
||||||
ТекстПримера = Новый ТекстовыйДокумент();
|
ТекстПримера = Новый ТекстовыйДокумент();
|
||||||
ТекстПримера.Прочитать(ПутьПримера);
|
ТекстПримера.Прочитать(ПутьПримера);
|
||||||
ВозвращаемыйТекст = ТекстПримера.ПолучитьТекст();
|
|
||||||
ВозвращаемыйТекст = СтрЗаменить(" " + ВозвращаемыйТекст, Символы.ПС, Символы.ПС + " ");
|
Результат = "";
|
||||||
|
|
||||||
|
Для Н = 1 По ТекстПримера.КоличествоСтрок() Цикл
|
||||||
|
|
||||||
|
ТекущаяСтрока = СокрЛП(ТекстПримера.ПолучитьСтроку(Н));
|
||||||
|
Результат = Результат + " " + ТекущаяСтрока + Символы.ПС;
|
||||||
|
|
||||||
|
КонецЦикла;
|
||||||
|
|
||||||
|
Если ЗначениеЗаполнено(Результат) Тогда
|
||||||
|
Результат = Лев(Результат, СтрДлина(Результат) - 1);
|
||||||
|
|
||||||
|
Пока СтрНайти(Результат, Символы.ПС + Символы.ПС) <> 0 Цикл
|
||||||
|
Результат = СтрЗаменить(Результат, Символы.ПС + Символы.ПС, Символы.ПС);
|
||||||
|
КонецЦикла;
|
||||||
|
|
||||||
|
КонецЕсли;
|
||||||
|
|
||||||
КонецЕсли;
|
КонецЕсли;
|
||||||
|
|
||||||
Возврат ВозвращаемыйТекст;
|
Возврат Результат;
|
||||||
|
|
||||||
КонецФункции
|
КонецФункции
|
||||||
|
|
||||||
@ -595,7 +612,21 @@
|
|||||||
ДокументЛога = Новый ТекстовыйДокумент();
|
ДокументЛога = Новый ТекстовыйДокумент();
|
||||||
ДокументЛога.Прочитать(ПутьЛога);
|
ДокументЛога.Прочитать(ПутьЛога);
|
||||||
|
|
||||||
Результат = ДокументЛога.ПолучитьТекст();
|
Результат = "";
|
||||||
|
|
||||||
|
Для Н = 1 По ДокументЛога.КоличествоСтрок() Цикл
|
||||||
|
|
||||||
|
ТекущаяСтрока = ДокументЛога.ПолучитьСтроку(Н);
|
||||||
|
|
||||||
|
Если ЗначениеЗаполнено(ТекущаяСтрока) Тогда
|
||||||
|
Результат = Результат + ТекущаяСтрока + Символы.ПС;
|
||||||
|
КонецЕсли;
|
||||||
|
|
||||||
|
КонецЦикла;
|
||||||
|
|
||||||
|
Если ЗначениеЗаполнено(Результат) Тогда
|
||||||
|
Результат = Лев(Результат, СтрДлина(Результат) - 1);
|
||||||
|
КонецЕсли;
|
||||||
|
|
||||||
Возврат СокрЛП(Результат);
|
Возврат СокрЛП(Результат);
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text); //Map
|
Response = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment); //Map
|
Response = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text); //Map
|
Response = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Airtable.GetComments(Token, Base, Table, Record); //Map
|
Response = OPI_Airtable.GetComments(Token, Base, Table, Record); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,7 +36,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Airtable.CreatePosts(Token, Base, Table, Data); //Map
|
Response = OPI_Airtable.CreatePosts(Token, Base, Table, Data); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_Airtable.DeletePosts(Token, Base, Table, Record); //Map
|
Response = OPI_Airtable.DeletePosts(Token, Base, Table, Record); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Airtable.GetListOfRecords(Token, Base, Table, Indent); //Map
|
Response = OPI_Airtable.GetListOfRecords(Token, Base, Table, Indent); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Airtable.GetRecord(Token, Base, Table, Record); //Map
|
Response = OPI_Airtable.GetRecord(Token, Base, Table, Record); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -39,7 +39,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Airtable.CreateTable(Token, Base, Name, FieldArray, Description); //Map
|
Response = OPI_Airtable.CreateTable(Token, Base, Name, FieldArray, Description); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Airtable.ModifyTable(Token, Base, Table, Name, Description); //Map
|
Response = OPI_Airtable.ModifyTable(Token, Base, Table, Name, Description); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,7 +36,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Airtable.CreateDatabase(Token, Workspace, Name, TableCollection); //Map
|
Response = OPI_Airtable.CreateDatabase(Token, Workspace, Name, TableCollection); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Airtable.GetDatabaseTables(Token, Base); //Map
|
Response = OPI_Airtable.GetDatabaseTables(Token, Base); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Airtable.GetListOfBases(Token); //Map
|
Response = OPI_Airtable.GetListOfBases(Token); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Airtable.CreateField(Token, Base, Table, FieldStructure); //Map
|
Response = OPI_Airtable.CreateField(Token, Base, Table, FieldStructure); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 5
|
|||||||
Response = OPI_Airtable.GetAttachmentField(Name); //Map
|
Response = OPI_Airtable.GetAttachmentField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 6
|
|||||||
Response = OPI_Airtable.GetCheckboxField(Name); //Map
|
Response = OPI_Airtable.GetCheckboxField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 7
|
|||||||
Response = OPI_Airtable.GetDateField(Name); //Map
|
Response = OPI_Airtable.GetDateField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 8
|
|||||||
Response = OPI_Airtable.GetEmailField(Name); //Map
|
Response = OPI_Airtable.GetEmailField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 10
|
|||||||
Response = OPI_Airtable.GetLinkField(Name); //Map
|
Response = OPI_Airtable.GetLinkField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_Airtable.GetNumberField(Name, Precision); //Map
|
Response = OPI_Airtable.GetNumberField(Name, Precision); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 9
|
|||||||
Response = OPI_Airtable.GetPhoneField(Name); //Map
|
Response = OPI_Airtable.GetPhoneField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Airtable.GetStringField(Name); //Map
|
Response = OPI_Airtable.GetStringField(Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Airtable.ModifyField(Token, Base, Table, Field, Name, Description); //Map
|
Response = OPI_Airtable.ModifyField(Token, Base, Table, Field, Name, Description); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ sidebar_position: 4
|
|||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetAccountInformation(Token);
|
Result = OPI_Dropbox.GetAccountInformation(Token);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ sidebar_position: 1
|
|||||||
|
|
||||||
AppKey = "oynqxds...";
|
AppKey = "oynqxds...";
|
||||||
Result = OPI_Dropbox.GetAuthorizationLink(AppKey);
|
Result = OPI_Dropbox.GetAuthorizationLink(AppKey);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ sidebar_position: 5
|
|||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetSpaceUsageData(Token);
|
Result = OPI_Dropbox.GetSpaceUsageData(Token);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 2
|
|||||||
Code = "bTCiUTzxe6kAAAAAAAAAGN1NMZIxyqETKr4o7OS2dU8";
|
Code = "bTCiUTzxe6kAAAAAAAAAGN1NMZIxyqETKr4o7OS2dU8";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetToken(AppKey, AppSecret, Code);
|
Result = OPI_Dropbox.GetToken(AppKey, AppSecret, Code);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 3
|
|||||||
RefreshToken = "oZFWg3DmZ_IAAAAAAAAAAWilOA0M1SjV...";
|
RefreshToken = "oZFWg3DmZ_IAAAAAAAAAAWilOA0M1SjV...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.RefreshToken(AppKey, AppSecret, RefreshToken);
|
Result = OPI_Dropbox.RefreshToken(AppKey, AppSecret, RefreshToken);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,11 +20,10 @@ sidebar_position: 8
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Original = "/New/pic.png";
|
Original = "/New/pic.png";
|
||||||
Copy = "/New/pic_copy.png";
|
Copy = "/New/pic_copy.png";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.CopyObject(Token, Original, Copy);
|
Result = OPI_Dropbox.CopyObject(Token, Original, Copy);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 10
|
|||||||
Path = "/New catalog";
|
Path = "/New catalog";
|
||||||
|
|
||||||
Result = OPI_Dropbox.CreateFolder(Token, Path);
|
Result = OPI_Dropbox.CreateFolder(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,11 +19,10 @@ sidebar_position: 7
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.DeleteObject(Token, Path);
|
Result = OPI_Dropbox.DeleteObject(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,10 +19,9 @@ sidebar_position: 11
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
|
|
||||||
Result = OPI_Dropbox.DownloadFile(Token, Path);
|
Result = OPI_Dropbox.DownloadFile(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 12
|
|||||||
Path = "/New";
|
Path = "/New";
|
||||||
|
|
||||||
Result = OPI_Dropbox.DownloadFolder(Token, Path);
|
Result = OPI_Dropbox.DownloadFolder(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,11 +20,10 @@ sidebar_position: 2
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Path = "/New";
|
Path = "/New";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetListOfFolderFiles(Token, Path, True);
|
Result = OPI_Dropbox.GetListOfFolderFiles(Token, Path, True);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,11 +19,10 @@ sidebar_position: 1
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetObjectInformation(Token, Path, True);
|
Result = OPI_Dropbox.GetObjectInformation(Token, Path, True);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,10 +20,9 @@ sidebar_position: 13
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetObjectVersionList(Token, Path, 1);
|
Result = OPI_Dropbox.GetObjectVersionList(Token, Path, 1);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,10 +19,9 @@ sidebar_position: 3
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/mydoc.docx";
|
Path = "/New/mydoc.docx";
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetPreview(Token, Path);
|
Result = OPI_Dropbox.GetPreview(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ sidebar_position: 6
|
|||||||
WorkID = "G8YbueOu2nsAAAAAAAAAAQ";
|
WorkID = "G8YbueOu2nsAAAAAAAAAAQ";
|
||||||
Status = "in_progress";
|
Status = "in_progress";
|
||||||
|
|
||||||
WHile Status = "in_progress" Do
|
WHile Status = "in_progress" Do
|
||||||
|
|
||||||
Result = OPI_Dropbox.GetUploadStatusByURL(Token, WorkID);
|
Result = OPI_Dropbox.GetUploadStatusByURL(Token, WorkID);
|
||||||
Status = Result[".tag"];
|
Status = Result[".tag"];
|
||||||
@ -31,7 +31,6 @@ sidebar_position: 6
|
|||||||
|
|
||||||
|
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,11 +20,10 @@ sidebar_position: 9
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
OriginalPath = "/New/pic.png";
|
OriginalPath = "/New/pic.png";
|
||||||
TargetPath = "/pic.png";
|
TargetPath = "/pic.png";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
|
|
||||||
Result = OPI_Dropbox.MoveObject(Token, OriginalPath, TargetPath);
|
Result = OPI_Dropbox.MoveObject(Token, OriginalPath, TargetPath);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,10 +21,9 @@ sidebar_position: 14
|
|||||||
|
|
||||||
Version = "61a0b76320a6fbd841553";
|
Version = "61a0b76320a6fbd841553";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
|
|
||||||
Result = OPI_Dropbox.RestoreObjectToVersion(Token, Path, Version);
|
Result = OPI_Dropbox.RestoreObjectToVersion(Token, Path, Version);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,12 +19,11 @@ sidebar_position: 5
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Path = "/New/url_doc.docx";
|
Path = "/New/url_doc.docx";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
URL = "https://openintegrations.dev/test_data/document.docx";
|
URL = "https://openintegrations.dev/test_data/document.docx";
|
||||||
|
|
||||||
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);
|
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ sidebar_position: 4
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Path = "/New/pic.png";
|
Path = "/New/pic.png";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||||
|
|
||||||
@ -28,7 +28,6 @@ sidebar_position: 4
|
|||||||
FileCopy(Image, ImagePath);
|
FileCopy(Image, ImagePath);
|
||||||
|
|
||||||
Result = OPI_Dropbox.UploadFile(Token, ImagePath, Path, True);
|
Result = OPI_Dropbox.UploadFile(Token, ImagePath, Path, True);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 3
|
|||||||
File = "kJU6-a-pT48AAAAAAAAABw";
|
File = "kJU6-a-pT48AAAAAAAAABw";
|
||||||
|
|
||||||
Result = OPI_Dropbox.AddUsersToFile(Token, File, Email, False);
|
Result = OPI_Dropbox.AddUsersToFile(Token, File, Email, False);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 4
|
|||||||
Folder = "5022319569"; // shared_folder_id
|
Folder = "5022319569"; // shared_folder_id
|
||||||
|
|
||||||
Result = OPI_Dropbox.AddUsersToFolder(Token, Folder, Email, False);
|
Result = OPI_Dropbox.AddUsersToFolder(Token, Folder, Email, False);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 6
|
|||||||
File = "kJU6-a-pT48AAAAAAAAABw";
|
File = "kJU6-a-pT48AAAAAAAAABw";
|
||||||
|
|
||||||
Result = OPI_Dropbox.CancelFilePublication(Token, File);
|
Result = OPI_Dropbox.CancelFilePublication(Token, File);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ sidebar_position: 2
|
|||||||
CurrentStatus = Result[".tag"];
|
CurrentStatus = Result[".tag"];
|
||||||
OPI_Tools.Pause(3);
|
OPI_Tools.Pause(3);
|
||||||
EndDo;
|
EndDo;
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,10 +19,9 @@ sidebar_position: 1
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
|
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New";
|
Path = "/New";
|
||||||
|
|
||||||
Result = OPI_Dropbox.PublishFolder(Token, Path);
|
Result = OPI_Dropbox.PublishFolder(Token, Path);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,10 +21,9 @@ sidebar_position: 2
|
|||||||
|
|
||||||
Tag = "Important";
|
Tag = "Important";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/mydoc.docx";
|
Path = "/New/mydoc.docx";
|
||||||
|
|
||||||
Result = OPI_Dropbox.AddTag(Token, Path, Tag);
|
Result = OPI_Dropbox.AddTag(Token, Path, Tag);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,10 +21,9 @@ sidebar_position: 3
|
|||||||
|
|
||||||
Tag = "Important";
|
Tag = "Important";
|
||||||
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
|
||||||
Path = "/New/mydoc.docx";
|
Path = "/New/mydoc.docx";
|
||||||
|
|
||||||
Result = OPI_Dropbox.DeleteTag(Token, Path, Tag);
|
Result = OPI_Dropbox.DeleteTag(Token, Path, Tag);
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
|
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
|
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ sidebar_position: 5
|
|||||||
Response = OPI_GoogleCalendar.EditListCalendar(Token, "55868c32be16935f0...", Black, Yellow, False); //Map
|
Response = OPI_GoogleCalendar.EditListCalendar(Token, "55868c32be16935f0...", Black, Yellow, False); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
|
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ sidebar_position: 4
|
|||||||
|
|
||||||
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
|
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,8 +20,7 @@ sidebar_position: 5
|
|||||||
|
|
||||||
|
|
||||||
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
|
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleCalendar.EditCalendarMetadata(Token, "55868c32be16935f0...", Name, Description); //Map
|
Response = OPI_GoogleCalendar.EditCalendarMetadata(Token, "55868c32be16935f0...", Name, Description); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
|
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,7 +36,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
|
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 7
|
|||||||
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ sidebar_position: 6
|
|||||||
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
|
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
|
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ sidebar_position: 2
|
|||||||
```json title="Result"
|
```json title="Result"
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
||||||
{
|
{
|
||||||
"eventType": "default",
|
"eventType": "default",
|
||||||
"attachments": [
|
"attachments": [
|
||||||
@ -84,7 +82,6 @@ sidebar_position: 2
|
|||||||
"etag": "\"3416857346088000\"",
|
"etag": "\"3416857346088000\"",
|
||||||
"kind": "calendar#event"
|
"kind": "calendar#event"
|
||||||
},
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 5
|
|||||||
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment); //Map
|
Response = OPI_GoogleDrive.CreateComment(Token, Identifier, Comment); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 4
|
|||||||
|
|
||||||
Response = OPI_GoogleDrive.DeleteComment(Token, Identifier, Comment); //Map
|
Response = OPI_GoogleDrive.DeleteComment(Token, Identifier, Comment); //Map
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleDrive.GetCommentList(Token, AndДFile); //Map
|
Response = OPI_GoogleDrive.GetCommentList(Token, AndДFile); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleDrive.GetComment(Token, AndДFile, CommentID); //Map
|
Response = OPI_GoogleDrive.GetComment(Token, AndДFile, CommentID); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ sidebar_position: 7
|
|||||||
Response = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewLocation) //Map
|
Response = OPI_GoogleDrive.CopyObject(Token, Identifier, NewName, NewLocation) //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 5
|
|||||||
Response = OPI_GoogleDrive.CreateFolder(Token, Name); //Map
|
Response = OPI_GoogleDrive.CreateFolder(Token, Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ sidebar_position: 9
|
|||||||
|
|
||||||
Response = OPI_GoogleDrive.DeleteObject(Token, Identifier); //Map
|
Response = OPI_GoogleDrive.DeleteObject(Token, Identifier); //Map
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 6
|
|||||||
Response = OPI_GoogleDrive.DownloadFile(Token, Identifier); //Map
|
Response = OPI_GoogleDrive.DownloadFile(Token, Identifier); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleDrive.GetDirectoriesList(Token, Name, False); //Map
|
Response = OPI_GoogleDrive.GetDirectoriesList(Token, Name, False); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 10
|
|||||||
|
|
||||||
Return Description;
|
Return Description;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleDrive.GetFilesList(Token,, Directory); //Map
|
Response = OPI_GoogleDrive.GetFilesList(Token,, Directory); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleDrive.GetObjectInformation(Token, Identifier); //Map
|
Response = OPI_GoogleDrive.GetObjectInformation(Token, Identifier); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ sidebar_position: 8
|
|||||||
Response = OPI_GoogleDrive.UpdateFile(Token, Identifier, ReplacementImage, NewName) //Map
|
Response = OPI_GoogleDrive.UpdateFile(Token, Identifier, ReplacementImage, NewName) //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_GoogleDrive.UploadFile(Token, Image, Description); //Map
|
Response = OPI_GoogleDrive.UploadFile(Token, Image, Description); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //String
|
Response = OPI_Tools.JSONString(Response); //String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleSheets.ClearCells(Token, Spreadsheet, CellsArray, Sheet); //Map
|
Response = OPI_GoogleSheets.ClearCells(Token, Spreadsheet, CellsArray, Sheet); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleSheets.GetCellValues(Token, Spreadsheet, CellsArray, Sheet); //Map
|
Response = OPI_GoogleSheets.GetCellValues(Token, Spreadsheet, CellsArray, Sheet); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleSheets.SetCellValues(Token, Spreadsheet, ValueMapping, Sheet); //Map
|
Response = OPI_GoogleSheets.SetCellValues(Token, Spreadsheet, ValueMapping, Sheet); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleSheets.CreateSpreadsheet(Token, Name, ArrayOfSheetNames); //Map
|
Response = OPI_GoogleSheets.CreateSpreadsheet(Token, Name, ArrayOfSheetNames); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleSheets.EditSpreadsheetTitle(Token, Spreadsheet, Name); //Map
|
Response = OPI_GoogleSheets.EditSpreadsheetTitle(Token, Spreadsheet, Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleSheets.GetSpreadsheet(Token, Identifier); //Map
|
Response = OPI_GoogleSheets.GetSpreadsheet(Token, Identifier); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_GoogleSheets.AddSheet(Token, Spreadsheet, Name); //Map
|
Response = OPI_GoogleSheets.AddSheet(Token, Spreadsheet, Name); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_GoogleSheets.CopySheet(Token, From, Target, Sheet); //Map
|
Response = OPI_GoogleSheets.CopySheet(Token, From, Target, Sheet); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_GoogleSheets.DeleteSheet(Token, Spreadsheet, Sheet); //Map
|
Response = OPI_GoogleSheets.DeleteSheet(Token, Spreadsheet, Sheet); //Map
|
||||||
Response = OPI_Tools.JSONString(Response); //JSON string
|
Response = OPI_Tools.JSONString(Response); //JSON string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,12 +26,11 @@ sidebar_position: 1
|
|||||||
|
|
||||||
Block = OPI_Notion.ReturnBlock(Token, "ca18df269bd24407852b91c30e..."); //Block as map. Can be changed.
|
Block = OPI_Notion.ReturnBlock(Token, "ca18df269bd24407852b91c30e..."); //Block as map. Can be changed.
|
||||||
|
|
||||||
Response = OPI_Notion.CreateBlock(Token, Parent, Block);
|
Response = OPI_Notion.CreateBlock(Token, Parent, Block);
|
||||||
Response = OPI_Notion.CreateBlock(Token, Parent, "46c1500ed40c4e89ba6a229003...");
|
Response = OPI_Notion.CreateBlock(Token, Parent, "46c1500ed40c4e89ba6a229003...");
|
||||||
Response = OPI_Notion.CreateBlock(Token, Parent, "aa4137d4c8cc445d9f969c3968...");
|
Response = OPI_Notion.CreateBlock(Token, Parent, "aa4137d4c8cc445d9f969c3968...");
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 4
|
|||||||
Response = OPI_Notion.DeleteBlock(Token, BlockID);
|
Response = OPI_Notion.DeleteBlock(Token, BlockID);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Notion.ReturnBlock(Token, BlockID);
|
Response = OPI_Notion.ReturnBlock(Token, BlockID);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Notion.ReturnChildBlocks(Token, BlockID);
|
Response = OPI_Notion.ReturnChildBlocks(Token, BlockID);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -47,7 +47,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Notion.CreateDatabase(Token, Parent, Title, Properties);
|
Response = OPI_Notion.CreateDatabase(Token, Parent, Title, Properties);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Notion.EditDatabaseProperties(Token, Base, Properties, Title, Description);
|
Response = OPI_Notion.EditDatabaseProperties(Token, Base, Properties, Title, Description);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Notion.GetDatabase(Token, Base);
|
Response = OPI_Notion.GetDatabase(Token, Base);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ sidebar_position: 2
|
|||||||
Response = OPI_Notion.CreatePageInDatabase(Token, Base, Data);
|
Response = OPI_Notion.CreatePageInDatabase(Token, Base, Data);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ sidebar_position: 1
|
|||||||
Response = OPI_Notion.CreatePage(Token, Parent, Title);
|
Response = OPI_Notion.CreatePage(Token, Parent, Title);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ sidebar_position: 4
|
|||||||
|
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ sidebar_position: 3
|
|||||||
Response = OPI_Notion.GetPage(Token, Page);
|
Response = OPI_Notion.GetPage(Token, Page);
|
||||||
Response = OPI_Tools.JSONString(Response);
|
Response = OPI_Tools.JSONString(Response);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user