Scott
Scott

Reputation: 485

Google Calendar Events insert not honoring eventType

I cannot create a "focus time" event using the "try this method" page here.

I have "eventType": "focusTime" but the returned JSON has this (and the calendar shows a regular event was created):

"eventType": "default"

Am I doing something wrong? The API clearly says this is supported.

Thanks

Upvotes: 0

Views: 297

Answers (1)

Lorena Gomez
Lorena Gomez

Reputation: 2203

As mentioned in the Events documentation, the eventType parameter, is a read-only parameter.

eventType - Specific type of the event. Read-only. Possible values are: "default" - A regular event or not further specified. "outOfOffice" - An out-of-office event. "focusTime" - A focus-time event.

There is already a feature request for this in Google's Issue Tracker. You can vote for the request through here.

Upvotes: 1

Related Questions