tentativelyAccepted
来自
POST /me/events/${eventId}/tentativelyAccept
{
sendResponse: true
}
然后当我使用
GET /me/events
responseStatus.response 正确更新为tentativelyAccepted
。
但是, status.response 仍为none
,这是错误的。
{
"responseStatus": {
"response": "tentativelyAccepted",
"time": "2018-02-05T03:15:49.3615414Z"
},
"start": {
"dateTime": "2018-02-05T18:30:00.0000000",
"timeZone": "UTC"
},
"end": {
"dateTime": "2018-02-05T19:30:00.0000000",
"timeZone": "UTC"
},
"location": {
"displayName": "Office"
},
"recurrence": null,
"attendees": [
{
"type": "required",
"status": {
"response": "none",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "Jack",
"address": "jack@example.com"
}
},
{
"type": "required",
"status": {
"response": "none",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "Hongbo Miao",
"address": "Hongbo.Miao@example.com"
}
}
],
"organizer": {
"emailAddress": {
"name": "Jack",
"address": "jack@example.com"
}
}
}
如果我登录杰克的帐户并运行GET /me/events
,则 status.response 为tentativelyAccepted
,这是正确的。