Repository navigation
Add a Google Calendar template generated from Google's API description - #324
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | 615a3e6 | Nov 23 2026, 10:35 AM |
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
from
November 23, 2026 00:36
d1334cc to
59b623a
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
2 times, most recently
from
November 23, 2026 00:59
3dd0c71 to
e6485f6
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
2 times, most recently
from
November 23, 2026 01:31
82b324e to
24561f6
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
from
November 23, 2026 01:43
24561f6 to
343ec4a
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
2 times, most recently
from
November 23, 2026 02:22
d409637 to
bac9637
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
5 times, most recently
from
November 23, 2026 10:05
f0a4a53 to
1f681b3
Compare
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
from
November 23, 2026 10:16
1f681b3 to
8ef345e
Compare
The new template offers every method of the Google Calendar API as a typed method with field selections, generated like the Gmail template: events and recurring instances, calendars and the calendar list, sharing, settings, free/busy times and push notifications. Changes ask for approval by each user's level. Creating an event with guests counts as send, since it adds the event to their calendars and can email them. The discovery generator gains a read rule for methods such as freebusy.query, which read through a POST. The catalog tests list the templates the repository has instead of a fixed set.
tnkuehne
force-pushed
the
feat/google-calendar-template
branch
from
November 23, 2026 10:34
8ef345e to
615a3e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Google Calendar is one of the most requested integrations, and none of the templates covers it yet. Google publishes a Discovery document for it, which the generator from #319 already reads. A calendar template therefore needs only its rules and the template code around the generated API.
What changes
Google Calendar template (
templates/google-calendar)eventsInsertissend: it adds the event to its guests' calendars and, withsendUpdates, emails them.create.https://www.googleapis.com/auth/calendar, which covers every method. An account connected with fewer scopes getspermission_required.GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET), like Gmail. The scope is sensitive, so a managed client would need Google's verification.calendar_errorcarries Google's message, status and reasons. Rate limits, missing scopes, revoked tokens and responses over 8 MiB are handled as in Gmail.template.mddescribes setup, method names, selections, approvals, results and how to regenerate.Generator
readrule: discovery rules acceptreadfor methods that only read through a POST, such asfreebusy.query. Those methods never ask.Catalog tests
Connection page
New page, connected state, with the same approval form as the other templates.
Testing
pnpm checkreadrule.fieldsURLs andundefinedarguments left out;send;all_changes;freebusyQuerynever asking;

Confidence Score: 5/5 
The PR appears safe to merge with the required query-argument checks from dependent PR #325.Summary
Adds a personal Google Calendar template with 38 typed methods, field selections and per-user approvals.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart TD A["Calendar method"] --> B["Build request and field selection"] B --> C{"Changes data?"} C -- No --> F["Send with the user's Google token"] C -- Yes --> D{"Approval needed?"} D -- No --> F D -- Yes --> E["Ask the user"] E -- Accepted --> F E -- Declined --> G["Return declined"] F --> H["Return selected data or an error"]Reviews (15) · Last reviewed commit: "Add a Google Calendar template generated..." · Reviewed by Greptile