What's New
Webhooks
Subscriptions, deliveries and their payloads are corrected.
Events
Event responses, free-busy results and request validation are corrected.
iCloud and CalDAV
Conference URLs, event IDs and updates are corrected for both providers.
Disconnect and revoke
Both endpoints handle more cases correctly.
Events
Fixed
- We added the missing
url, the join URL, toconferenceDatainGET /api/events, in thePOSTandPUT /api/eventresponses and in webhook deliveries. - We added the missing
originaltoconferenceDatain the same responses and deliveries: the conference data exactly as the calendar provider returns it, Google’sconferenceDataor Microsoft’sonlineMeeting. - We fixed
GET /api/eventswith thefree-busyscope returning thedescriptionof Outlook, iCloud and CalDAV events and theconferenceof CalDAV events. Both are now left out, asdescriptionalready was for Google. - We fixed iCloud and CalDAV URLs set in Apple Calendar missing from
conference. They are now returned inconferenceandconferenceData, as URLs set through Connect already were. - The
conferenceof an iCloud or CalDAV event is the URL set on the event. It can be any URL, not only a meeting link. - We fixed
PUT /api/eventchanging the iCal UID of an iCloud or CalDAV event. An iCloud event got itsidfollowed by@mobiscroll.comas the UID, and a CalDAV event got theeventIdof the request. The event now keeps the UID it already has. - We fixed
GET /api/eventsanswering500whencalendarIdsornextPageTokenis not valid JSON. It now returns400with anerrornaming the parameter.
Webhooks
Fixed
- We fixed
POST /api/subscribe-webhookreplacing another user’s subscription when called with that subscription’schannelId, so its owner stopped receiving webhooks. It now returns409with{ "error": "channelId is already in use" }and leaves the other subscription untouched. - We fixed
POST /api/oauth/disconnectwithaccountstopping only the webhook subscription of the Google primary calendar. It now stops the subscription of every calendar on that account, except a calendar that another connected account of the same provider can see. See Disconnect Account. - We fixed some calendar changes being delivered twice, when several provider notifications for one calendar arrived close together and when overlapping connects of the same account created two subscriptions for one calendar. Connect now fetches the changes of a calendar one batch at a time and keeps one subscription per calendar and user.
- We fixed deleted Outlook, iCloud and CalDAV events arriving in webhook deliveries without
calendarId. Every delivered event now has it. - We added the missing
conferenceDatato webhook deliveries. Every event that has a conference now carries it, in the shapeGET /api/eventsreturns. See Client webhook payload. - We fixed iCloud and CalDAV event ids in webhook deliveries differing from
GET /api/events, so a deleted event or series could not be matched to its earlier deliveries. Created and updated iCloud events, and thePUT /api/eventresponse for an iCloud event, used the iCal UID asid; deleted CalDAV events used the file name of the calendar object. They now use theidofGET /api/events: the file name for iCloud and the iCal UID for CalDAV. A deleted CalDAV event arrives with the file name only until Connect has recorded the UID of its calendar object, at its next check of the calendar.
OAuth
Fixed
- We fixed
POST /api/oauth/revokewith an expired access token returning200without revoking anything, so the refresh token kept working. It now revokes the user’s access and refresh tokens. See Revoke Token. - We fixed
POST /api/oauth/disconnectaccepting anyprovidervalue. A missing or unknownprovidernow returns400with{ "error": "Missing or invalid provider" }.