我正在使用googleapis npm软件包创建日历事件。这是我为calendar.events.insert创建事件的请求有效负载。
{
"summary":"Biology class",
"location":"Google Meet: Please follow the google meet url",
"description":"Unit and Measurements",
"colorId":2,
"start":{"dateTime":"2020-06-13T11:00:00+05:30","timeZone":"Asia/Kolkata"},
"end":{"dateTime":"2020-06-13T12:00:00+05:30","timeZone":"Asia/Kolkata"},
"attendees":[
{"email":"[email protected]"},
{"email":"[email protected]","organizer":true}
],
"reminders":{
"useDefault":false,
"overrides":[{"method":"email","minutes":10},{"method":"popup","minutes":10}]
},
"creator": {
"email": "[email protected]",
"self": true
},
"organizer":{
"email":"[email protected]",
"self":true
}
}
我想让与会者成为组织者,以便他可以开始会议。我是否在请求有效负载中缺少某些内容?还是我需要授予他们权限?
creator
和organizer
是只读值,因为您可以读取here