javascript - Google Cal API returning incomplete Events Resource -


i'm using list method google calendar api event data. api returns basic information each event start, end, location, , attendees, it's missing fields guestscaninviteothers , guestscanmodify listed on events resource reference page.

why doesn't calendar api send these fields well, , how can modify calls api these fields?

i wanted expand on @teyam's answer.

so can guestscanmodify, guestscaninviteothers , guestscanseeotherguests events.list call.

you need include fields fields parameter. them along event title (summary), pass fields.

items(summary,guestscaninviteothers,guestscanseeotherguests,guestscanmodify) 

you need leave out spaces in string above. careful when use fields, return specified fields instead of returning default response plus specify.

there 1 more caveat around guests permissions. returned when different default. default values according docs are:

guestscanmodify: false guestscaninviteothers: true guestscanseeotherguests: true 

so if guestscanmodify not included in result, it's because false (the default value). see returned when true.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -