在 Google 日历中,没有 "修改事件 "权限的与会者可以对他们的事件副本进行私人修改。这些更改只会反映在他们的日历中。
在下面的例子中,一个创建者邀请我参加一个活动,我将开始时间改为45分钟后。
这反映在谷歌日历的API响应。
创建者的事件响应。
{
"kind": "calendar#event",
"etag": "\"123\"",
"id": "abc",
"status": "confirmed",
"htmlLink": "https://www.google.com/calendar/event?eid=abc",
"created": "2020-06-14T11:49:54.000Z",
"updated": "2020-06-14T12:43:41.896Z",
"summary": "Non Creator changes start_time and saves",
"creator": {
"email": "[email protected]",
"self": true
},
"organizer": {
"email": "[email protected]",
"self": true
},
"start": {
"dateTime": "2020-06-14T11:00:00+01:00"
},
"end": {
"dateTime": "2020-06-14T12:00:00+01:00"
},
"iCalUID": "[email protected]",
"sequence": 0,
"attendees": [
{
"email": "[email protected]",
"organizer": true,
"self": true,
"responseStatus": "accepted"
},
{
"email": "[email protected]",
"responseStatus": "accepted"
}
],
"hangoutLink": "https://meet.google.com/abc",
"conferenceData": {
...
},
"reminders": {
"useDefault": true
}
}
参加者的事件响应。
{
"kind": "calendar#event",
"etag": "\"123\"",
"id": "abc",
"status": "confirmed",
"htmlLink": "https://www.google.com/calendar/event?eid=abc",
"created": "2020-06-14T11:49:54.000Z",
"updated": "2020-06-15T12:19:25.966Z",
"summary": "Non Creator changes start_time and saves",
"creator": {
"email": "[email protected]"
},
"organizer": {
"email": "[email protected]"
},
"start": {
"dateTime": "2020-06-14T11:45:00+01:00"
},
"end": {
"dateTime": "2020-06-14T12:30:00+01:00"
},
"iCalUID": "[email protected]",
"sequence": 0,
"attendees": [
{
"email": "[email protected]",
"organizer": true,
"responseStatus": "accepted"
},
{
"email": "[email protected]",
"self": true,
"responseStatus": "accepted"
}
],
"hangoutLink": "https://meet.google.com/abc",
"conferenceData": {
...
},
"reminders": {
"useDefault": true
}
}
现在带来的问题是,从出席者的请求中确定事件的规范版本。在上面的响应中,并没有标志说明它包含了私有的变化。
在Google日历API中是否有这样的方法来确定事件的私人更改?