2017-09-18 22 views

답변

1

컬렉션 유형 ("calendar # events").

documentation에서 어떤 리소스 유형을 사용하고 있는지 알려줍니다. 예를 들어

:

"kind"

{ 
    "kind": "calendar#events", 
    "etag": "\"00000000000000000\"", 
    "summary": "[email protected]", 
    "updated": "2098-09-16T21:11:56.805Z", 
    "timeZone": "Asia/Manila", 
    "accessRole": "owner", 
    "defaultReminders": [ 
    { 
    "method": "popup", 
    "minutes": 10 
    } 
    ] 
{...} 
} 

또 다른 예가 될 것이다, 그래서 당신은 캘린더 이벤트에서 데이터를 받고는 대한

{ 
    "kind": "calendar#colors", 
    "updated": "2012-02-14T00:00:00.000Z", 
    "calendar": { 
    "1": { 
    "background": "#FFFFFF", 
    "foreground": "#AAAAAA" 
    }, 
    {...} 
} 
} 

달력 목록 달력 색상에서 데이터를 얻을 수 있습니다 마지막 예,

{ 
"kind": "calendar#calendarList", 
"etag": "\"p324cv3ddpuldc0g\"", 
"nextSyncToken": "CIjPja3PqtYCEhNhbWFnbmFiZUBnb29nbGUuY29t", 
"items": [ 
    { 
    "kind": "calendar#calendarListEntry", 
    "etag": "\"00000000000000000\"", 
    "id": "[email protected]", 
    "summary": "My summary", 
    "timeZone": "UTC", 
    "colorId": "1", 
    "backgroundColor": "0000001", 
    "foregroundColor": "#5555555", 
    "selected": true, 
    "accessRole": "owner", 
    "defaultReminders": [] 
    }, 
{...} 
} 

희망이 도움이됩니다.

+0

어떻게하면 보조 캘린더를 공유하고이 보조 캘린더를 공유 한 사람의 목록을 볼 수 있습니까? Google 캘린더 API에서 참조를 얻지 못했습니다. –

1

그것은 단지 정보 자원 식별자입니다.