1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-24 08:52:18 +02:00

Обновление документации

This commit is contained in:
Anton 2024-08-12 19:30:17 +03:00
parent b62cc856e2
commit 7b2eade946
291 changed files with 896 additions and 602 deletions

View File

@ -1,47 +0,0 @@
name: Документация | Распарсить тесты в примеры кода
# Controls when the workflow will run
on:
workflow_dispatch:
jobs:
Convert:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
steps:
- uses: actions/checkout@v2
with:
token: ${{secrets.TOKEN}}
- name: Расшифровать тестовые данные
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
env:
ENC_JSON: ${{ secrets.ENC_JSON }}
- uses: otymko/setup-onescript@v1.4
with:
version: 1.9.0
- name: Установить osparser
run: |
opm install osparser
- name: Выполнить скрипт парсинга тестов
run: oscript ./.github/workflows/os/docs_examples.os
- name: Удалить расшифрованный файл
continue-on-error: false
run: rm -f ./data.json
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: Vitaly the Alpaca (bot)
commit_user_email: vitaly.the.alpaca@gmail.com
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
commit_message: Создание примеров кода документации на основе тестов

View File

@ -32,7 +32,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
Name = "New subfolder";
Filename2 = "New subfolder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.deletetree](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5014";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.get](https://dev.1c-bitrix.ru/rest_hel
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);

View File

@ -31,7 +31,7 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
DestinationID = "5018";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);

View File

@ -31,7 +31,7 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
DestinationID = "5014";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);

View File

@ -32,7 +32,7 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
Filename2 = "New folder 2";
FolderID2 = "5014";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.restore](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);

View File

@ -29,7 +29,7 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserIDs = New Array;

View File

@ -30,7 +30,7 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Color = "AZURE";

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Image = "https://openintegrations.dev/test_data/picture2.jpg";

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Title = "New chat title";

View File

@ -46,7 +46,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
ChatStructure.Insert("AVATAR", B64Image);
ChatStructure.Insert("OWNER_ID", 1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);

View File

@ -29,7 +29,7 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat4";
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetDialog(URL, ChatID);

View File

@ -26,7 +26,7 @@ Method at API documentation: [im.user.status.get](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetUserStatus(URL);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.user.list.get ](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ArrayOfUsers = New Array;
ArrayOfUsers.Add(1);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);

View File

@ -26,7 +26,7 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ReadAll(URL);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.user.status.set](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Status = "dnd";
Result = OPI_Bitrix24.SetUserStatus(URL, Status);

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Text = "Task impossible, let's split up";

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.result.list](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.commentitem.get](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
TaskID = "1082";

View File

@ -27,7 +27,7 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);

View File

@ -29,7 +29,7 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";

View File

@ -31,7 +31,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Type = "date";
Name = "BIRTHDAY_FIELD";

View File

@ -27,7 +27,7 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);

View File

@ -26,7 +26,7 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);

View File

@ -30,7 +30,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Title = "New title";

View File

@ -29,7 +29,7 @@ Method at API documentation: [department.add](https://dev.1c-bitrix.ru/rest_help
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Name = "Main department";
ParentID = 1;

View File

@ -27,7 +27,7 @@ Method at API documentation: [department.delete](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);

View File

@ -30,7 +30,7 @@ Method at API documentation: [department.get](https://dev.1c-bitrix.ru/rest_help
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);

View File

@ -30,7 +30,7 @@ Method at API documentation: [department.update](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "68";
ParentID = 7;

View File

@ -30,7 +30,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
Text = "Comment for post";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);

View File

@ -30,7 +30,7 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
Visibility = "UA";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);

View File

@ -40,7 +40,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreatePost(URL, Text,, Files, Title, True);

View File

@ -28,7 +28,7 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeletePost(URL, PostID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
```bsl title="Code example"
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);

View File

@ -29,7 +29,7 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetPosts(URL, PostID);

View File

@ -39,7 +39,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
Files = New Map;
Files.Insert("1.png", Image1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text,, Files, Title);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.file.delete](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5008";
Result = OPI_Bitrix24.DeleteFile(URL, FileID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.file.getExternalLink](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.file.get](https://dev.1c-bitrix.ru/rest_help/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);

View File

@ -31,7 +31,7 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
FolderID = "5014";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeFileCopy(URL, FileID, FolderID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.file.markdeleted](https://dev.1c-bitrix.ru/re
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);

View File

@ -31,7 +31,7 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
FolderID = "5018";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);

View File

@ -32,7 +32,7 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
Filename2 = "New file name 2.jpg";
FileID2 = "5008";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.file.restore](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.RestoreFile(URL, FileID);

View File

@ -37,7 +37,7 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
DestinationID = "5016";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);

View File

@ -38,7 +38,7 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);

View File

@ -34,7 +34,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
Name = "New stage";
Color = "0026FF";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);

View File

@ -30,7 +30,7 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetKanbanStages(URL,, True);

View File

@ -33,7 +33,7 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
TaskID = "1086";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);

View File

@ -35,7 +35,7 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
Color = "000000";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);

View File

@ -29,7 +29,7 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Text = "New message text";

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";

View File

@ -28,7 +28,7 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";

View File

@ -2,7 +2,7 @@
sidebar_position: 5
---
# SendFile
# Send file
Send disk file to chat
@ -29,7 +29,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";

View File

@ -29,7 +29,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);

View File

@ -32,7 +32,7 @@ Method at API documentation: [im.notify.personal.add](https://dev.1c-bitrix.ru/l
```bsl title="Code example"
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";

View File

@ -32,7 +32,7 @@ Method at API documentation: [im.notify.system.add](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";

View File

@ -27,7 +27,7 @@ Method at API documentation: [im.notify.delete](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
NotificationID = "8690";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);

View File

@ -26,7 +26,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ServerTime(URL);

View File

@ -32,7 +32,7 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
Name = "New catalog";
Filename2 = "New folder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [disk.storage.get](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorage(URL, StorageID);

View File

@ -26,7 +26,7 @@ Method at API documentation: [disk.storage.getlist](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetStoragesList(URL);
URL = "b24-ar17wx.bitrix24.by";

View File

@ -29,7 +29,7 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Text = "Checklist element";

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.delete](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.get](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";

View File

@ -27,7 +27,7 @@ Method at API documentation: [task.checklistitem.getlist](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.renew](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";

View File

@ -29,7 +29,7 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.favorite.add](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.approve](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);

View File

@ -28,7 +28,7 @@ Method at API documentation: [tasks.task.files.attach](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
FileID = "5006";

View File

@ -32,7 +32,7 @@ Method at API documentation: [tasks.task.getaccess](https://dev.1c-bitrix.ru/res
ArrayOfUsers.Add("1");
ArrayOfUsers.Add("10");
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);

View File

@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.complete](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);

View File

@ -41,7 +41,7 @@ Method at API documentation: [tasks.task.add](https://dev.1c-bitrix.ru/rest_help
TaskData.Insert("DEADLINE", CurrentDate + Hour * Day);
TaskData.Insert("RESPONSIBLE_ID", Responsible);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateTask(URL, TaskData);

View File

@ -33,7 +33,7 @@ Method at API documentation: [task.dependence.add](https://dev.1c-bitrix.ru/rest
DestinationID = "1080";
LinkType = 0;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);

Some files were not shown because too many files have changed in this diff Show More