|
116 | 116 | "context": { |
117 | 117 | "annotations": { |
118 | 118 | "edge_cases": [ |
119 | | - "EventId is missing or empty", |
120 | | - "EventId does not exist on the target calendar — API returns 404", |
121 | 119 | "CalendarId defaults to 'primary' when omitted", |
| 120 | + "EventId does not exist on the target calendar — API returns 404", |
| 121 | + "EventId is missing or empty — plugin cannot build the delete request", |
122 | 122 | "Invalid or expired OAuth access token — API returns 401", |
123 | | - "Access token missing required Google Calendar API scope", |
124 | | - "SendUpdates defaults to 'none' — no cancellation emails are sent", |
125 | | - "Google Calendar API rate limit or quota exceeded", |
126 | | - "Google Calendar API returns non-success status code", |
127 | | - "Network timeout or connection failure" |
| 123 | + "SendUpdates defaults to 'none' — no cancellation emails are sent" |
128 | 124 | ], |
129 | | - "expected_result": "The event is deleted from the primary calendar. The API returns 204 No Content.", |
130 | | - "notes": "Deletes an event from the primary calendar using a direct OAuth access token.", |
| 125 | + "expected_result": "The event is deleted from the primary calendar and the API returns 204 No Content.", |
| 126 | + "notes": "EventId is the only required parameter. Token provides a raw OAuth Bearer token suited for single-step runs where token expiry is not a concern. Omitting CalendarId targets the authenticated user's primary calendar.", |
131 | 127 | "use_case": "remove_calendar_event_with_token", |
132 | 128 | "version": "4" |
133 | 129 | }, |
134 | 130 | "labels": [ |
135 | | - "ApiIntegration", |
136 | | - "Authentication", |
137 | 131 | "Calendar", |
138 | 132 | "Delete", |
139 | 133 | "GoogleCalendar", |
|
159 | 153 | "context": { |
160 | 154 | "annotations": { |
161 | 155 | "edge_cases": [ |
162 | | - "Credentials id/name not found", |
163 | | - "Credentials record missing refresh token", |
164 | | - "Refresh-token exchange fails", |
165 | | - "Google OAuth token endpoint returns non-success status code", |
| 156 | + "CalendarId not found or not writable — API returns 404 or 403", |
| 157 | + "Credentials record not found or missing refresh token — token exchange fails", |
166 | 158 | "EventId does not exist on the target calendar — API returns 404", |
167 | | - "CalendarId not found — API returns 404", |
168 | | - "CalendarId refers to a calendar the user cannot write to — API returns 403", |
169 | | - "CalendarId contains special characters that require URL encoding", |
170 | | - "SendUpdates:all causes cancellation emails to be sent to all attendees immediately", |
171 | | - "Google Calendar API rate limit or quota exceeded", |
172 | | - "Google Calendar API returns non-success status code", |
173 | | - "Network timeout or connection failure" |
| 159 | + "SendUpdates:all sends cancellation emails to all attendees immediately", |
| 160 | + "Token parameter is ignored when Credentials is provided" |
174 | 161 | ], |
175 | | - "expected_result": "The event is deleted from the specified secondary calendar and cancellation emails are sent to all attendees. The API returns 204 No Content.", |
176 | | - "notes": "Deletes an event from a secondary calendar using stored credentials, notifying all attendees.", |
| 162 | + "expected_result": "The event is deleted from the specified secondary calendar, cancellation emails are sent to all attendees, and the API returns 204 No Content.", |
| 163 | + "notes": "Credentials is resolved at runtime to a fresh access token, making it safe for long-running workflows where raw tokens may expire. Passing CalendarId explicitly targets the secondary calendar by its email-format identifier. SendUpdates:all delivers cancellation emails to all attendees immediately.", |
177 | 164 | "use_case": "remove_calendar_event_with_credentials_and_notifications", |
178 | 165 | "version": "4" |
179 | 166 | }, |
180 | 167 | "labels": [ |
181 | | - "ApiIntegration", |
182 | | - "Authentication", |
183 | 168 | "Calendar", |
184 | 169 | "Credentials", |
185 | 170 | "Delete", |
186 | 171 | "GoogleCalendar", |
187 | | - "Invitations", |
188 | | - "OAuth", |
189 | 172 | "SecondaryCalendar", |
190 | 173 | "SendUpdates" |
191 | 174 | ] |
|
194 | 177 | "### RemoveGoogleCalendarEvent: Delete event from secondary calendar using stored credentials", |
195 | 178 | "", |
196 | 179 | "Delete a calendar event from a secondary calendar by supplying its identifier and CalendarId.", |
197 | | - "Stored credentials are resolved at runtime to obtain a fresh OAuth access token.", |
198 | | - "SendUpdates:all notifies all attendees of the cancellation." |
| 180 | + "Stored credentials are exchanged at runtime for a fresh OAuth access token, avoiding hardcoded token expiry issues.", |
| 181 | + "SendUpdates:all notifies all attendees of the cancellation immediately." |
199 | 182 | ], |
200 | 183 | "rule": { |
201 | 184 | "$type": "Action", |
|
266 | 249 | "summary": [ |
267 | 250 | "Deletes a Google Calendar event by its unique identifier from the target calendar.", |
268 | 251 | "Authenticates via a direct OAuth access token or a stored credentials reference exchanged for a fresh token.", |
| 252 | + "Controls whether attendees receive cancellation emails via SendUpdates, defaulting to no notifications.", |
269 | 253 | "Fails with a non-success API response when the calendar or event cannot be found." |
270 | 254 | ] |
271 | 255 | } |
0 commit comments