You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
sidebar_position: 8
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
|
||||
44
docs/en/md/Green_API/Account/Get-instance-status.mdx
vendored
Normal file
44
docs/en/md/Green_API/Account/Get-instance-status.mdx
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get instance status
|
||||
Gets instance status
|
||||
|
||||
|
||||
|
||||
`Function GetInstanceStatus(Val AccessParameters) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [GetStateInstance](https://green-api.com/docs/api/account/GetStateInstance/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://7105.api.greenapi.com";
|
||||
MediaUrl = "https://7105.media.greenapi.com";
|
||||
IdInstance = "71051...";
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.GetInstanceStatus(AccessParameters);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
44
docs/en/md/Green_API/Account/Get-qr.mdx
vendored
Normal file
44
docs/en/md/Green_API/Account/Get-qr.mdx
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
sidebar_position: 7
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get QR
|
||||
Receives authorization QR code
|
||||
|
||||
|
||||
|
||||
`Function GetQR(Val AccessParameters) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
|
||||
|
||||
Returns: BinaryData, Map Of KeyAndValue - QR code or error information
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [QR](https://green-api.com/docs/api/account/QR/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://7105.api.greenapi.com";
|
||||
MediaUrl = "https://7105.media.greenapi.com";
|
||||
IdInstance = "71051...";
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.GetQR(AccessParameters);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
44
docs/en/md/Green_API/Account/Logout-instance.mdx
vendored
Normal file
44
docs/en/md/Green_API/Account/Logout-instance.mdx
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Logout instance
|
||||
Unlogging the instance
|
||||
|
||||
|
||||
|
||||
`Function LogoutInstance(Val AccessParameters) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [Logout](https://green-api.com/docs/api/account/Logout/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://7105.api.greenapi.com";
|
||||
MediaUrl = "https://7105.media.greenapi.com";
|
||||
IdInstance = "71051...";
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.LogoutInstance(AccessParameters);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
44
docs/en/md/Green_API/Account/Reboot-instance.mdx
vendored
Normal file
44
docs/en/md/Green_API/Account/Reboot-instance.mdx
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Reboot instance
|
||||
Restarts the instance
|
||||
|
||||
|
||||
|
||||
`Function RebootInstance(Val AccessParameters) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| AccessParameters | --access | Structure Of KeyAndValue | ✔ | Access parameters. See FormAccessParameters |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Green API
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [Reboot](https://green-api.com/docs/api/account/Reboot/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ApiUrl = "https://7105.api.greenapi.com";
|
||||
MediaUrl = "https://7105.media.greenapi.com";
|
||||
IdInstance = "71051...";
|
||||
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
|
||||
|
||||
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||||
Result = OPI_GreenAPI.RebootInstance(AccessParameters);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [GetSettings](https://green-api.com/docs/api/account/SetSettings/)
|
||||
Method at API documentation: [SetSettings](https://green-api.com/docs/api/account/SetSettings/)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user