Colors: get

傳回日曆和活動的顏色定義。立即試用

要求

HTTP 要求

GET https://www.googleapis.com/calendar/v3/colors

授權

這項要求允許使用下列其中一個範圍進行授權:

範圍
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/calendar.readonly
https://www.googleapis.com/auth/calendar.app.created
https://www.googleapis.com/auth/calendar.calendarlist
https://www.googleapis.com/auth/calendar.calendarlist.readonly
https://www.googleapis.com/auth/calendar.events.freebusy
https://www.googleapis.com/auth/calendar.events.owned
https://www.googleapis.com/auth/calendar.events.owned.readonly
https://www.googleapis.com/auth/calendar.events.public.readonly

詳情請參閱「驗證與授權」頁面。

要求主體

請勿透過此方法提供要求主體。

回應

如果成功的話,這個方法會在回應內文中傳回 Colors 資源

試試看!

您可以使用下方的 API Explorer,針對即時資料呼叫這個方法,然後查看回應。