You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Правки доков
This commit is contained in:
@@ -25,10 +25,8 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ sidebar_position: 2
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,5 +38,5 @@ sidebar_position: 4
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
""
|
||||
""
|
||||
```
|
||||
|
||||
@@ -28,14 +28,11 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Black = "#000000";
|
||||
Black = "#000000";
|
||||
Yellow = "#ffd800";
|
||||
|
||||
Response = OPI_GoogleCalendar.EditListCalendar(Token, "55868c32be16935f0...", Black, Yellow, False); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -47,7 +44,7 @@ sidebar_position: 5
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -24,10 +24,8 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
||||
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -39,7 +37,7 @@ sidebar_position: 1
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
[
|
||||
[
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ sidebar_position: 3
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -24,9 +24,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
|
||||
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
```
|
||||
|
||||
|
||||
@@ -38,5 +36,5 @@ sidebar_position: 4
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
""
|
||||
""
|
||||
```
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
|
||||
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ sidebar_position: 1
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
|
||||
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,5 +38,5 @@ sidebar_position: 5
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
""
|
||||
""
|
||||
```
|
||||
|
||||
@@ -27,12 +27,10 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Name = "TestCalendar (change.)";
|
||||
Name = "TestCalendar (change.)";
|
||||
Description = "TestDescription";
|
||||
Response = OPI_GoogleCalendar.EditCalendarMetadata(Token, "55868c32be16935f0...", Name, Description); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -44,7 +42,7 @@ sidebar_position: 3
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ sidebar_position: 2
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"conferenceProperties": {
|
||||
"allowedConferenceSolutionTypes": [
|
||||
"hangoutsMeet"
|
||||
|
||||
@@ -26,8 +26,7 @@ sidebar_position: 4
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Attachments = New Map;
|
||||
Attachments = New Map;
|
||||
Attachments.Insert("Image1", "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png");
|
||||
Attachments.Insert("Image2", "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1");
|
||||
|
||||
@@ -42,7 +41,6 @@ sidebar_position: 4
|
||||
|
||||
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -54,7 +52,7 @@ sidebar_position: 4
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"eventType": "default",
|
||||
"attachments": [
|
||||
{
|
||||
|
||||
@@ -26,10 +26,8 @@ sidebar_position: 7
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -41,5 +39,5 @@ sidebar_position: 7
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
""
|
||||
""
|
||||
```
|
||||
|
||||
@@ -27,13 +27,11 @@ sidebar_position: 6
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
EventMap = New Map;
|
||||
EventMap = New Map;
|
||||
EventMap.Insert("Description", "Test event description (change.)");
|
||||
|
||||
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -45,7 +43,7 @@ sidebar_position: 6
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"eventType": "default",
|
||||
"attachments": [
|
||||
{
|
||||
|
||||
@@ -32,7 +32,7 @@ sidebar_position: 1
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
EventMap = New Map;
|
||||
EventMap = New Map;
|
||||
EventMap.Insert("Description", ""); // Event description
|
||||
EventMap.Insert("Title", "New event"); // Title events
|
||||
EventMap.Insert("Venue", ""); // String description of the venue of the event
|
||||
|
||||
@@ -25,10 +25,8 @@ sidebar_position: 2
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
|
||||
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -40,7 +38,7 @@ sidebar_position: 2
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
[
|
||||
[
|
||||
{
|
||||
"eventType": "default",
|
||||
"attachments": [
|
||||
|
||||
@@ -26,10 +26,8 @@ sidebar_position: 3
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -41,7 +39,7 @@ sidebar_position: 3
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"eventType": "default",
|
||||
"attachments": [
|
||||
{
|
||||
|
||||
@@ -27,10 +27,8 @@ sidebar_position: 5
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -42,7 +40,7 @@ sidebar_position: 5
|
||||
```
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
{
|
||||
"eventType": "default",
|
||||
"attachments": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user