Calendar API Explorer-CalendarList补丁

时间:2018-07-01 04:55:28

标签: google-calendar-api google-apis-explorer

使用CalendarList:修补程序页面上的API资源管理器使用以下请求正文时,说明不会更新。为什么?

{
  "notificationSettings": {
    "notifications": [
      {
        "method": "email",
        "type": "eventChange"
      },
      {
        "method": "email",
        "type": "agenda"
      }
    ]
  },
  "description": "Hope so"
}

响应代码为200,但返回的正文不包含说明。

{
 "kind": "calendar#calendarListEntry",
 "etag": "\"1530419951992000\"",
 "id": "tele-metron.com_h0tmas7vpuo1kb0h5c16lcvbt0@group.calendar.google.com",
 "summary": "Testing Insert",
 "timeZone": "UTC",
 "colorId": "3",
 "backgroundColor": "#f83a22",
 "foregroundColor": "#000000",
 "selected": true,
 "accessRole": "owner",
 "defaultReminders": [],
 "notificationSettings": {
  "notifications": [
   {
    "type": "eventChange",
    "method": "email"
   },
   {
    "type": "agenda",
    "method": "email"
   }
  ]
 },
 "conferenceProperties": {
  "allowedConferenceSolutionTypes": [
   "hangoutsMeet"
  ]
 }
}

如果我使用Calendars:补丁更新了它的描述,那么CalendarList:补丁将返回描述作为响应主体的一部分。 欢迎线索

0 个答案:

没有答案