mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
Правка перевода документации
This commit is contained in:
parent
d0221e4767
commit
3a1f8c047b
@ -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*
|
||||
|
@ -46,6 +46,34 @@ sidebar_position: 7
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
|
||||
{
|
||||
"result": {
|
||||
"ID": 574,
|
||||
"NAME": "Новый каталог",
|
||||
"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/Новый каталог"
|
||||
},
|
||||
"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": 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": [
|
||||
{
|
||||
"ID": "568",
|
||||
"NAME": "Картинка2.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/Картинка2.jpg"
|
||||
},
|
||||
{
|
||||
"ID": "570",
|
||||
"NAME": "Картинка1.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/Картинка1.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": {
|
||||
"ID": "3",
|
||||
"NAME": "Общий диск",
|
||||
"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": {
|
||||
"ID": "18",
|
||||
"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
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
46
docs/ru/md/VK/Ad-account-management/Pause-advertising.md
Normal file
46
docs/ru/md/VK/Ad-account-management/Pause-advertising.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Приостановить рекламное объявление
|
||||
Приостанавливает показ рекламного объявления
|
||||
|
||||
|
||||
*Функция ПриостановитьРекламноеОбъявление(Знач IDКабинета, Знач IDОбъявления, Знач Параметры = "") Экспорт*
|
||||
|
||||
| Параметр | CLI опция | Тип | Назначение |
|
||||
|-|-|-|-|
|
||||
| IDКабинета | --cabinet | Строка,Число | ID рекламного кабинета |
|
||||
| IDОбъявления | --adv | Строка,Число | ID объявления |
|
||||
| Параметры | --auth | Структура из Строка | JSON авторизации или путь к .json |
|
||||
|
||||
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - сериализованный JSON ответа от VK
|
||||
|
||||
```bsl title="Пример кода"
|
||||
|
||||
|
||||
Ответ = OPI_VK.ПриостановитьРекламноеОбъявление(1234567890, 1029701085, Параметры);
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ);
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="Пример команды CLI"
|
||||
|
||||
oint vk ПриостановитьРекламноеОбъявление --cabinet %cabinet% --adv %adv% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
{
|
||||
"response": [
|
||||
{
|
||||
"id": 1029701085
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
```
|
@ -0,0 +1,42 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Добавить товар в подборку
|
||||
Добавляет товар в подборку
|
||||
|
||||
|
||||
*Функция ДобавитьТоварВПодборку(Знач МассивТоваров, Знач Подборка, Знач Параметры = "") Экспорт*
|
||||
|
||||
| Параметр | CLI опция | Тип | Назначение |
|
||||
|-|-|-|-|
|
||||
| МассивТоваров | --items | Массив из Строка, Число | Массив товаров или товар |
|
||||
| Подборка | --sel | Строка | ID подборки |
|
||||
| Параметры | --auth | Структура из Строка | JSON авторизации или путь к .json |
|
||||
|
||||
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - сериализованный JSON ответа от VK
|
||||
|
||||
```bsl title="Пример кода"
|
||||
|
||||
|
||||
Ответ = OPI_VK.ДобавитьТоварВПодборку(8656559, 40, Параметры);
|
||||
Ответ = OPI_Инструменты.JSONСтрокой(Ответ);
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="Пример команды CLI"
|
||||
|
||||
oint vk ДобавитьТоварВПодборку --items %items% --sel %sel% --auth %auth%
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
|
||||
{
|
||||
"response": 1
|
||||
}
|
||||
|
||||
```
|
@ -4351,5 +4351,7 @@
|
||||
"Работа с Twitter подразумевает работу с двумя API - v1 (1.1) и v2, которые, при этом, не относятся к разным видам действий, но просто являются версиями друг друга. Несмотря на то, что Twitter настаивает на использовании v2, вышло так, что некоторые механизмы (в частности механизм загрузки файлов) в ней так и не появилися. Поэтому, даже для создания обычного твита с картинкой необходима работа с обеими версиями API, а, как следствие, двойной набор авторизационных данны. Этот набор описан в функции": "Working with Twitter involves using two APIs - v1 (1.1) and v2, which are not separate types of actions but simply different versions of the API. Despite Twitter's preference for v2, it turned out that some mechanisms (such as the file upload mechanism) did not appear in it. Therefore, even for creating a regular tweet with an image, you need to work with both API versions, resulting in a double set of authentication data. This set is described in the function",
|
||||
"Не рекомендуется использовать методы служебных модулей в других местах вашей конфигурации (если вы собираетесь обновляться до новых версий в дальнейшем). Для сохранения обратной совместимости, количество\/назначение параметров и типы возвращаемых значений для методов работы с API не изменяются, но это не применимо к служебным модулям, которые могут изменяться как угодно для оптимизации и дополнения под новые нужды. Если вам необходим функционал из служебных модулей, рекомендуется скопировать его себе отдельно": "It is not recommended to use the methods of utility modules in other parts of your configuration (if you plan to update to new versions in the future). To maintain backward compatibility, the number\/purpose of parameters and the return types for API interaction methods do not change, but this does not apply to utility modules, which can be modified in any way for optimization and adaptation to new requirements. If you need functionality from the utility modules, it is recommended to copy it separately",
|
||||
"Ввести домееное имя и URL обработчика перенаправлений. Тут нужно отметить, что данный механизм создания приложений - новый. Еще недавно приложения VK создавались иначе и иметь redirect_url для них было не нужно. На данный момент не совсем понятно, зачем он нужен нам для серверного приложения - просто такого понятия как серверное приложение у VK теперь нет. Теоретически, туда можно вписать что угодно - для работы с библиотекой в получении обратных данных нет необходимости. Однако, с течением времени, это может измениться": "Enter the domain name and the URL of the redirect handler. It's worth noting that this mechanism for creating VK applications is new. Until recently, VK applications were created differently, and having a redirect URL was unnecessary. At the moment, it's not entirely clear why it's needed for our server application - VK no longer distinguishes server applications as such. Theoretically, you can enter anything there - there is no need for receiving callback data to work with the library. However, this may change over time",
|
||||
"Перечень необходимых данных в виде структуры содержится в функции *ПолучитьСтандартныеПараметры()*. Вы можете указывать значения параметров прямо в ней или же передавать их структурой при вызове любых других методов библиотеки в качестве необязательного параметра *Параметры* (последний во всех методах билиотеки). В последнем случае стандартные параметры будут перезаписаны по ключам теми, которые переданы при вызове метода. Перезаписаны будут только совпадающие по ключам данные. Если какой то параметр есть в наборе стандартных, но не был передан при вызове метода, то он сохранит стандартное значение": "The list of necessary data in the form of a structure is contained in the function *GetStandardParameters()*. You can specify parameter values directly within it or pass them as a structure when calling any other library methods as an optional parameter *Parameters* (the last one in all library methods). In the latter case, the standard parameters will be overwritten by the ones passed during the method call. Only the data with matching keys will be overwritten. If a parameter exists in the standard set but was not passed during the method call, it will retain its default value"
|
||||
"Перечень необходимых данных в виде структуры содержится в функции *ПолучитьСтандартныеПараметры()*. Вы можете указывать значения параметров прямо в ней или же передавать их структурой при вызове любых других методов библиотеки в качестве необязательного параметра *Параметры* (последний во всех методах билиотеки). В последнем случае стандартные параметры будут перезаписаны по ключам теми, которые переданы при вызове метода. Перезаписаны будут только совпадающие по ключам данные. Если какой то параметр есть в наборе стандартных, но не был передан при вызове метода, то он сохранит стандартное значение": "The list of necessary data in the form of a structure is contained in the function *GetStandardParameters()*. You can specify parameter values directly within it or pass them as a structure when calling any other library methods as an optional parameter *Parameters* (the last one in all library methods). In the latter case, the standard parameters will be overwritten by the ones passed during the method call. Only the data with matching keys will be overwritten. If a parameter exists in the standard set but was not passed during the method call, it will retain its default value",
|
||||
"Быстрый переход по документации":"Fast navigation",
|
||||
"openintegrations.dev\/docs": "en.openintegrations.dev\/docs"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user