Calendar API
  1. colors
Calendar API
  • calendars
    • /calendars
      POST
    • /calendars/{calendarId}
      DELETE
    • /calendars/{calendarId}
      GET
    • /calendars/{calendarId}
      PATCH
    • /calendars/{calendarId}
      PUT
    • /calendars/{calendarId}/clear
      POST
  • acl
    • /calendars/{calendarId}/acl
      GET
    • /calendars/{calendarId}/acl
      POST
    • /calendars/{calendarId}/acl/watch
      POST
    • /calendars/{calendarId}/acl/{ruleId}
      DELETE
    • /calendars/{calendarId}/acl/{ruleId}
      GET
    • /calendars/{calendarId}/acl/{ruleId}
      PATCH
    • /calendars/{calendarId}/acl/{ruleId}
      PUT
  • events
    • /calendars/{calendarId}/events
      GET
    • /calendars/{calendarId}/events
      POST
    • /calendars/{calendarId}/events/import
      POST
    • /calendars/{calendarId}/events/quickAdd
      POST
    • /calendars/{calendarId}/events/watch
      POST
    • /calendars/{calendarId}/events/{eventId}
      DELETE
    • /calendars/{calendarId}/events/{eventId}
      GET
    • /calendars/{calendarId}/events/{eventId}
      PATCH
    • /calendars/{calendarId}/events/{eventId}
      PUT
    • /calendars/{calendarId}/events/{eventId}/instances
      GET
    • /calendars/{calendarId}/events/{eventId}/move
      POST
  • channels
    • /channels/stop
      POST
  • colors
    • /colors
      GET
  • freebusy
    • /freeBusy
  • calendarList
    • /users/me/calendarList
    • /users/me/calendarList
    • /users/me/calendarList/watch
    • /users/me/calendarList/{calendarId}
    • /users/me/calendarList/{calendarId}
    • /users/me/calendarList/{calendarId}
    • /users/me/calendarList/{calendarId}
  • settings
    • /users/me/settings
    • /users/me/settings/watch
    • /users/me/settings/{setting}
  1. colors

/colors

GET
/colors
colors
Returns the color definitions for calendars and events.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://www.googleapis.com/calendar/v3/colors'
Response Response Example
{
    "calendar": {
        "property1": {
            "background": "string",
            "foreground": "string"
        },
        "property2": {
            "background": "string",
            "foreground": "string"
        }
    },
    "event": {
        "property1": {
            "background": "string",
            "foreground": "string"
        },
        "property2": {
            "background": "string",
            "foreground": "string"
        }
    },
    "kind": "calendar#colors",
    "updated": "2019-08-24T14:15:22Z"
}

Request

None

Responses

🟢200Successful response
application/json
Body
calendar
object 
optional
A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its colorId field. Read-only.
Additional properties
object (ColorDefinition) 
optional
A calendar color definition.
event
object 
optional
A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its colorId field. Read-only.
Additional properties
object (ColorDefinition) 
optional
An event color definition.
kind
string 
optional
Type of the resource ("calendar#colors").
Default:
calendar#colors
updated
string <date-time>
optional
Last modification time of the color palette (as a RFC3339 timestamp). Read-only.
Modified at 2023-08-15 05:59:47
Previous
/channels/stop
Next
/freeBusy
Built with