Get Calendar Colors
GET {{baseUrl}}/colors
Returns the color definitions for calendars and events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
alt | string | Data format for the response. | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | boolean | Returns response with indentations and line breaks. | |
quotaUser | string | An opaque string that represents a user for quota purposes. Must not exceed 40 characters. | |
userIp | string | Deprecated. Please use quotaUser instead. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"calendar":{"qui_15":{"background":"dolore et occaecat","foreground":"et est cupidatat ullamco"},"nulla_2":{"background":"cupidatat ipsum Duis","foreground":"officia elit Excepteur dolore"},"laborisaf":{"background":"ex proident culpa consectetur veniam","foreground":"cupidatat dolore mollit laborum"}},"event":{"Excepteure8":{"background":"in","foreground":"Ut reprehenderit officia Duis"}},"kind":"calendar#colors","updated":"1990-01-21T16:25:35.908Z"}