You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-06 08:49:29 +02:00
Правка перевода документации
This commit is contained in:
@@ -13,7 +13,7 @@ sidebar_position: 3
|
||||
| Token | --token | String | Token |
|
||||
| Base | --base | String | Database identifier |
|
||||
| Table | --table | String | Table identifier |
|
||||
| Data | --data | Structure, Array of Structure | Set or array of sets of Key : Value pairs > Field : Indicator |
|
||||
| Data | --data | Structure, Array of Structure | Set or array of sets of pairs Key : Value > Field : FieldValue |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Airtable
|
||||
|
||||
@@ -46,6 +46,34 @@ sidebar_position: 7
|
||||
|
||||
```json title="Result"
|
||||
|
||||
|
||||
{
|
||||
"result": {
|
||||
"ID": 574,
|
||||
"NAME": "New catalog",
|
||||
"CODE": null,
|
||||
"STORAGE_ID": "3",
|
||||
"TYPE": "folder",
|
||||
"REAL_OBJECT_ID": 574,
|
||||
"PARENT_ID": "3",
|
||||
"DELETED_TYPE": 0,
|
||||
"CREATE_TIME": "2024-06-22T09:07:36+00:00",
|
||||
"UPDATE_TIME": "2024-06-22T09:07:36+00:00",
|
||||
"DELETE_TIME": null,
|
||||
"CREATED_BY": "1",
|
||||
"UPDATED_BY": "1",
|
||||
"DELETED_BY": null,
|
||||
"DETAIL_URL": "https://b24-ar17wx.bitrix24.by/docs/path/New catalog"
|
||||
},
|
||||
"time": {
|
||||
"start": 1719047256.22025,
|
||||
"finish": 1719047256.27758,
|
||||
"duration": 0.057330846786499,
|
||||
"processing": 0.0276291370391846,
|
||||
"date_start": "2024-06-22T09:07:36+00:00",
|
||||
"date_finish": "2024-06-22T09:07:36+00:00",
|
||||
"operating_reset_at": 1719047856,
|
||||
"operating": 0
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -42,6 +42,18 @@ sidebar_position: 9
|
||||
|
||||
```json title="Result"
|
||||
|
||||
|
||||
{
|
||||
"result": true,
|
||||
"time": {
|
||||
"start": 1719047257.50616,
|
||||
"finish": 1719047257.55445,
|
||||
"duration": 0.048285961151123,
|
||||
"processing": 0.0174880027770996,
|
||||
"date_start": "2024-06-22T09:07:37+00:00",
|
||||
"date_finish": "2024-06-22T09:07:37+00:00",
|
||||
"operating_reset_at": 1719047857,
|
||||
"operating": 0
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -40,6 +40,60 @@ sidebar_position: 5
|
||||
|
||||
```json title="Result"
|
||||
|
||||
|
||||
{
|
||||
"result": [
|
||||
{
|
||||
"ID": "568",
|
||||
"NAME": "Picture2.jpg",
|
||||
"CODE": null,
|
||||
"STORAGE_ID": "3",
|
||||
"TYPE": "file",
|
||||
"PARENT_ID": "3",
|
||||
"DELETED_TYPE": "0",
|
||||
"GLOBAL_CONTENT_VERSION": "1",
|
||||
"FILE_ID": "558",
|
||||
"SIZE": "2114023",
|
||||
"CREATE_TIME": "2024-06-22T09:07:30+00:00",
|
||||
"UPDATE_TIME": "2024-06-22T09:07:30+00:00",
|
||||
"DELETE_TIME": null,
|
||||
"CREATED_BY": "1",
|
||||
"UPDATED_BY": "1",
|
||||
"DELETED_BY": "0",
|
||||
"DOWNLOAD_URL": "https://b24-ar17wx.bitrix24.by/rest/download.json?auth=efa17666006e9f06006b12e400000001000007b2f26f9898812ad669fd7da83d478d1a&token=disk%7CaWQ9NTY4Jl89NnBxNndlcmpudjQwY0tHNnZhdVN2VHZ2TTYwSmFFSXA%3D%7CImRvd25sb2FkfGRpc2t8YVdROU5UWTRKbDg5Tm5CeE5uZGxjbXB1ZGpRd1kwdEhOblpoZFZOMlZIWjJUVFl3U21GRlNYQT18ZWZhMTc2NjYwMDZlOWYwNjAwNmIxMmU0MDAwMDAwMDEwMDAwMDdiMmYyNmY5ODk4ODEyYWQ2NjlmZDdkYTgzZDQ3OGQxYSI%3D.qSfz7Ap6RM8nwlRRrw4lqlYcNQoHQJMcdzSbvlLHw60%3D",
|
||||
"DETAIL_URL": "https://b24-ar17wx.bitrix24.by/docs/file/Picture2.jpg"
|
||||
},
|
||||
{
|
||||
"ID": "570",
|
||||
"NAME": "Picture1.jpg",
|
||||
"CODE": null,
|
||||
"STORAGE_ID": "3",
|
||||
"TYPE": "file",
|
||||
"PARENT_ID": "3",
|
||||
"DELETED_TYPE": "0",
|
||||
"GLOBAL_CONTENT_VERSION": "1",
|
||||
"FILE_ID": "560",
|
||||
"SIZE": "805189",
|
||||
"CREATE_TIME": "2024-06-22T09:07:32+00:00",
|
||||
"UPDATE_TIME": "2024-06-22T09:07:32+00:00",
|
||||
"DELETE_TIME": null,
|
||||
"CREATED_BY": "1",
|
||||
"UPDATED_BY": "1",
|
||||
"DELETED_BY": "0",
|
||||
"DOWNLOAD_URL": "https://b24-ar17wx.bitrix24.by/rest/download.json?auth=efa17666006e9f06006b12e400000001000007b2f26f9898812ad669fd7da83d478d1a&token=disk%7CaWQ9NTcwJl89SmpkOWlyMGpwS1N1TEI1aWxIWWxtU0JtTllsT1BoNVI%3D%7CImRvd25sb2FkfGRpc2t8YVdROU5UY3dKbDg5U21wa09XbHlNR3B3UzFOMVRFSTFhV3hJV1d4dFUwSnRUbGxzVDFCb05WST18ZWZhMTc2NjYwMDZlOWYwNjAwNmIxMmU0MDAwMDAwMDEwMDAwMDdiMmYyNmY5ODk4ODEyYWQ2NjlmZDdkYTgzZDQ3OGQxYSI%3D.X8XQ3FtYG30XrOGGxoO1p%2FXistiComyxQei37Xh%2B%2FIM%3D",
|
||||
"DETAIL_URL": "https://b24-ar17wx.bitrix24.by/docs/file/Picture1.jpg"
|
||||
}
|
||||
],
|
||||
"total": 2,
|
||||
"time": {
|
||||
"start": 1719047253.42516,
|
||||
"finish": 1719047253.47205,
|
||||
"duration": 0.0468947887420654,
|
||||
"processing": 0.016359806060791,
|
||||
"date_start": "2024-06-22T09:07:33+00:00",
|
||||
"date_finish": "2024-06-22T09:07:33+00:00",
|
||||
"operating_reset_at": 1719047853,
|
||||
"operating": 0
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -41,6 +41,26 @@ sidebar_position: 3
|
||||
|
||||
```json title="Result"
|
||||
|
||||
|
||||
{
|
||||
"result": {
|
||||
"ID": "3",
|
||||
"NAME": "Main drive",
|
||||
"CODE": null,
|
||||
"MODULE_ID": "disk",
|
||||
"ENTITY_TYPE": "common",
|
||||
"ENTITY_ID": "shared_files_s1",
|
||||
"ROOT_OBJECT_ID": "3"
|
||||
},
|
||||
"time": {
|
||||
"start": 1719047247.65416,
|
||||
"finish": 1719047247.68963,
|
||||
"duration": 0.0354659557342529,
|
||||
"processing": 0.00417995452880859,
|
||||
"date_start": "2024-06-22T09:07:27+00:00",
|
||||
"date_finish": "2024-06-22T09:07:27+00:00",
|
||||
"operating_reset_at": 1719047847,
|
||||
"operating": 0
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -38,6 +38,26 @@ sidebar_position: 4
|
||||
|
||||
```json title="Result"
|
||||
|
||||
|
||||
{
|
||||
"result": {
|
||||
"ID": "18",
|
||||
"NAME": "New storage name",
|
||||
"CODE": null,
|
||||
"MODULE_ID": "disk",
|
||||
"ENTITY_TYPE": "restapp",
|
||||
"ENTITY_ID": "2",
|
||||
"ROOT_OBJECT_ID": "464"
|
||||
},
|
||||
"time": {
|
||||
"start": 1719047246.29499,
|
||||
"finish": 1719047246.35783,
|
||||
"duration": 0.062842845916748,
|
||||
"processing": 0.0317339897155762,
|
||||
"date_start": "2024-06-22T09:07:26+00:00",
|
||||
"date_finish": "2024-06-22T09:07:26+00:00",
|
||||
"operating_reset_at": 1719047846,
|
||||
"operating": 0
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -12,7 +12,7 @@ sidebar_position: 2
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Path | --path | String | Path to the directory. Optional if the cursor is specified |
|
||||
| Detailed | --detail | Boolean | Adds additional information fields for media files |
|
||||
| Detailed | --detail | Boolean | Add information fields for mediafiles |
|
||||
| Cursor | --cursor | String | Cursor from the previous request to get the next set of files |
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ sidebar_position: 1
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Path | --path | String | Path to the object |
|
||||
| Detailed | --detail | Boolean | Adds additional information fields for media files |
|
||||
| Detailed | --detail | Boolean | Add information fields for mediafiles |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
|
||||
|
||||
@@ -11,7 +11,7 @@ sidebar_position: 6
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| JobID | --job | String | ID of the asynchronous job from the UploadFileByURL response |
|
||||
| JobID | --job | String | ID of async jsob from UploadFileByURL response |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
|
||||
|
||||
@@ -3,7 +3,7 @@ sidebar_position: 5
|
||||
---
|
||||
|
||||
# Get asynchronous change status
|
||||
Gets the status of the asynchronous access change job
|
||||
Get async job status for access changes
|
||||
|
||||
|
||||
*Function GetAsynchronousChangeStatus(Val Token, Val JobID) Export*
|
||||
|
||||
@@ -3,7 +3,7 @@ sidebar_position: 2
|
||||
---
|
||||
|
||||
# Add tag
|
||||
Adds a new text tag to a file or directory
|
||||
Add new tag to file or folder
|
||||
|
||||
|
||||
*Function AddTag(Val Token, Val Path, Val Tag) Export*
|
||||
|
||||
@@ -13,6 +13,24 @@ The implemented methods perform specific tasks (such as *SendMessage()* or *Crea
|
||||
|
||||
<br/>
|
||||
|
||||
Fast navigation
|
||||
<div>
|
||||
<a href="https://en.openintegrations.dev/docs/Telegram/"><img src="../static/img/APIs/Telegram.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/VK/"><img src="../static/img/APIs/VK.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Viber/"><img src="../static/img/APIs/Viber.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Twitter/"><img src="../static/img/APIs/Twitter.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Notion/"><img src="../static/img/APIs/Notion.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Yandex_Disk/"><img src="../static/img/APIs/YandexDisk.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Google_Calendar/"><img src="../static/img/APIs/GoogleCalendar.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Google_Drive/"><img src="../static/img/APIs/GoogleDrive.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Google_Sheets/"><img src="../static/img/APIs/GoogleSheets.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Slack/"><img src="../static/img/APIs/Slack.png" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Airtable/"><img src="../static/img/APIs/Airtable.png?6" width="40"/></a>
|
||||
<a href="https://en.openintegrations.dev/docs/Dropbox/"><img src="../static/img/APIs/Dropbox.png?6" width="40"/></a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
## Getting started
|
||||
|
||||
The library releases come in five variants:
|
||||
|
||||
@@ -3,7 +3,7 @@ sidebar_position: 2
|
||||
---
|
||||
|
||||
# Get token
|
||||
Gets the token by the code obtained during authorization via the link from GetAuthorizationLink
|
||||
Gets the token by the code received when authorizing using the link from GetAuthorizationLink
|
||||
|
||||
|
||||
*Function GetToken(Val Code, Val Parameters = "") Export*
|
||||
|
||||
@@ -6,7 +6,7 @@ sidebar_position: 3
|
||||
Pauses the display of the advertising post
|
||||
|
||||
|
||||
*Function PauseAdvertisingAd(Val AccountID, Val AdID, Val Parameters = "") Export*
|
||||
*Function PauseAdvertising(Val AccountID, Val AdID, Val Parameters = "") Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
@@ -20,7 +20,7 @@ sidebar_position: 3
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_VK.PauseAdvertisingAd(1234567890, 1029701085, Parameters);
|
||||
Response = OPI_VK.PauseAdvertising(1234567890, 1029701085, Parameters);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ sidebar_position: 3
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
oint vk PauseAdvertisingAd --cabinet %cabinet% --adv %adv% --auth %auth%
|
||||
oint vk PauseAdvertising --cabinet %cabinet% --adv %adv% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
46
docs/en/md/VK/Ad-account-management/Pause-advertising.md
Normal file
46
docs/en/md/VK/Ad-account-management/Pause-advertising.md
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Pause advertising post
|
||||
Pauses the display of the advertising post
|
||||
|
||||
|
||||
*Function PauseAdvertising(Val AccountID, Val AdID, Val Parameters = "") Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| AccountID | --cabinet | String, Number | Advertising account ID |
|
||||
| AdID | --adv | String, Number | Ad ID |
|
||||
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - Serialized JSON response from VK
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_VK.PauseAdvertising(1234567890, 1029701085, Parameters);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
oint vk PauseAdvertising --cabinet %cabinet% --adv %adv% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
{
|
||||
"response": [
|
||||
{
|
||||
"id": 1029701085
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
```
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Add product to selection
|
||||
Adds a product to the selection
|
||||
|
||||
|
||||
*Function AddProductToCollection(Val ProductsArray, Val Selection, Val Parameters = "") Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| ProductsArray | --items | Array of string, number | Array of products or product |
|
||||
| Selection | --sel | String | Selection ID |
|
||||
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - Serialized JSON response from VK
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_VK.AddProductToCollection(8656559, 40, Parameters);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
oint vk AddProductToCollection --items %items% --sel %sel% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
{
|
||||
"response": 1
|
||||
}
|
||||
|
||||
```
|
||||
@@ -6,7 +6,7 @@ sidebar_position: 5
|
||||
Adds a product to the selection
|
||||
|
||||
|
||||
*Function AddProductToSelection(Val ProductsArray, Val Selection, Val Parameters = "") Export*
|
||||
*Function AddProductToCollection(Val ProductsArray, Val Selection, Val Parameters = "") Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
@@ -20,7 +20,7 @@ sidebar_position: 5
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_VK.AddProductToSelection(8656559, 40, Parameters);
|
||||
Response = OPI_VK.AddProductToCollection(8656559, 40, Parameters);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ sidebar_position: 5
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
oint vk AddProductToSelection --items %items% --sel %sel% --auth %auth%
|
||||
oint vk AddProductToCollection --items %items% --sel %sel% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ sidebar_position: 4
|
||||
---
|
||||
|
||||
# Get online users
|
||||
Gets the status of a user or several users by ID
|
||||
Gets the status of a user or multiple users by ID
|
||||
|
||||
|
||||
*Function GetOnlineUsers(Val Token, Val UserIDs) Export*
|
||||
|
||||
Reference in New Issue
Block a user