Calendars: insert

建立次要日曆。立即試用

要求

HTTP 要求

POST https://www.googleapis.com/calendar/v3/calendars

授權

這項要求需要至少具備下列其中一個範圍的授權:

範圍
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/calendar.app.created
https://www.googleapis.com/auth/calendar.calendars

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

要求主體

在要求主體中,請提供具有下列屬性的 Calendars 資源

屬性名稱 說明 附註
必要屬性
summary string 日曆的標題。 可寫入

回應

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

試試看!

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