Tick all upcoming events for Google Calendar
/api/settings/google-calendar/add-allTick Google Calendar on every scheduled or open event that everyone may see. Events only the group's members see are left as they are. They are sent once Keep Google updated is on. Needs a Check that passed.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/settings/google-calendar/add-all"{ "added": 0, "settings": { "keyStored": true, "address": null, "projectId": null, "calendarId": null, "check": null, "limitedUntil": null, "links": null, "sending": false, "removing": false, "canSend": false }}Check the Google Calendar connection POST
Sign in to Google with the stored key and read the calendar's name, time zone, whether Modbot may change its events, and whether it is public. Writes nothing to Google. Answers 200 with what it found, a refusal included. While Google is limiting Modbot nothing is sent and the stored result is returned. Needs the `ManageSettings` permission.
Delete Modbot's events from Google Calendar POST
Turn Keep Google updated off and delete every event Modbot put on the Google calendar, through the sending loop, a few each pass. Events the calendar's owner made are left alone. The events stay ticked in Modbot. Needs a Check that passed. Needs the `ManageSettings` permission.