例如,目前有以下请求结构:
{
"timeMin": "2018-04-15T07:00:00.000Z",
"timeMax": "2018-04-16T07:00:00.000Z",
"items": [
{
"id": "cal1_id"
},
{
"id": "cal2_id"
}
]
}
我会得到这样的答案:
{
"kind": "calendar#freeBusy",
"timeMin": "2018-04-15T07:00:00.000Z",
"timeMax": "2018-04-16T07:00:00.000Z",
"calendars": {
"cal1_id": {
"busy": [
{
"start": "2018-04-16T01:00:00Z",
"end": "2018-04-16T02:00:00Z"
},
{
"start": "2018-04-16T04:00:00Z",
"end": "2018-04-16T05:00:00Z"
}
]
},
"cal2_id": {
"busy": [
{
"start": "2018-04-16T02:00:00Z",
"end": "2018-04-16T03:00:00Z"
},
{
"start": "2018-04-16T04:00:00Z",
"end": "2018-04-16T05:00:00Z"
}
]
}
}
}
注意:
我想要的是什么:
documentation here将items
描述为List of calendars and/or **groups** to query.
群组的含义是什么?我可以制作一组日历吗?如果是这样,我该怎么做?