1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-23 21:29:38 +02:00

Дополнение документации сервисов Google

This commit is contained in:
Anton Titovets 2025-01-12 13:02:27 +03:00
parent ad6e8514db
commit 7df8a307b1
6 changed files with 24 additions and 0 deletions

View File

@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"

View File

@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"

View File

@ -81,6 +81,10 @@ If you're already using the API to interact with other Google Workspace services
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**The code life time is extremely short.** After receiving it, you need to perform step 3 as quickly as possible. It is best to prepare a data processor with an input field and a button (in 1C), or use the CLI version of OPI for this step. In case of code lifetime expiry before completing step 3, the error `invalid_grant` will occur
:::
3. Use the obtained code, ClientID, and Client Secret to call the function OPI_GoogleWorkspace.GetTokenByCode(ClientID, ClientSecret, Code)
```json title="Result of the function GetTokenByCode() if converted to JSON"

View File

@ -81,6 +81,10 @@ sidebar_class_name: GoogleCalendar
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant`
:::
3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code)
```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON"

View File

@ -81,6 +81,10 @@ sidebar_class_name: GoogleDrive
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant`
:::
3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code)
```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON"

View File

@ -81,6 +81,10 @@ sidebar_class_name: GoogleSheets
![BF](../../static/img/Docs/GoogleCalendar/11.png)
:::important
**Время жизник кода крайне мало.** После его получения нужно выполнить шаг 3 максимально быстро. Лучше всего заранее подготовить обработку с полем для ввода и кнопкой (в 1С), либо же использовать CLI версию ОПИ. В случаее истечения срока жизни кода до выполнения пункта 3, будет получена ошибка `invalid_grant`
:::
3. Используйте полученный код, ClientID и Client Secret для вызова функции OPI_GoogleWorkspace.ПолучитьТокенПоКоду(ClientID, ClientSecret, Code)
```json title="Результат функции ПолучитьТокенПоКоду(), если перевести его в JSON"