【问题标题】:Determining private changes to an event in the Google Calendar API在 Google Calendar API 中确定对事件的私有更改
【发布时间】:2020-10-04 21:36:50
【问题描述】:

在 Google 日历中,没有“修改活动”权限的与会者可以私下更改他们的活动副本。这些更改仅反映在他们的日历中。

在以下示例中,创建者邀请我参加活动,我已将开始时间更改为 45 分钟后:

这反映在 Google Calendar 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": "david@example.com",
    "self": true
  },
  "organizer": {
    "email": "david@example.com",
    "self": true
  },
  "start": {
    "dateTime": "2020-06-14T11:00:00+01:00"
  },
  "end": {
    "dateTime": "2020-06-14T12:00:00+01:00"
  },
  "iCalUID": "abc123@google.com",
  "sequence": 0,
  "attendees": [
    {
      "email": "david@example.com",
      "organizer": true,
      "self": true,
      "responseStatus": "accepted"
    },
    {
      "email": "ryan@example.com",
      "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": "david@example.com"
  },
  "organizer": {
    "email": "david@example.com"
  },
  "start": {
    "dateTime": "2020-06-14T11:45:00+01:00"
  },
  "end": {
    "dateTime": "2020-06-14T12:30:00+01:00"
  },
  "iCalUID": "abc123@google.com",
  "sequence": 0,
  "attendees": [
    {
      "email": "david@example.com",
      "organizer": true,
      "responseStatus": "accepted"
    },
    {
      "email": "ryan@example.com",
      "self": true,
      "responseStatus": "accepted"
    }
  ],
  "hangoutLink": "https://meet.google.com/abc",
  "conferenceData": {
    ...
  },
  "reminders": {
    "useDefault": true
  }
}

现在提出的问题是根据与会者的请求确定活动的规范版本。在上述响应中,没有任何标志表明它包含私有更改。

是否有这种方法可以确定对 Google Calendar API 中事件的私人更改?

【问题讨论】:

    标签: google-calendar-api


    【解决方案1】:

    遗憾的是目前还没有

    但在 Google 的公共问题跟踪器上有一个 feature request

    受此问题影响的用户应“加星标”以提高知名度。向 Google 表明这是用户需要的功能非常重要。

    【讨论】:

    • 啊,知道了@ziganotschka — 太糟糕了,但很高兴听到其他人支持这种需求。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多