Google-RestApi
view release on metacpan or search on metacpan
t/unit/Test/Google/RestApi/CalendarApi3.pm.exchanges view on Meta::CPAN
---
request: POST /calendar/v3/calendars
request_content:
summary: Test Calendar
response:
code: 200
content: |
{
"kind": "calendar#calendar",
"etag": "\"PcjBGQ84MbQ2n3GhVZHozUr8WjM\"",
"id": "5aadde077a778ab6ccccc3a30e90f51164c5cd4c13ecbdad6e9ead63e2c3b853@group.calendar.google.com",
"summary": "Test Calendar",
"timeZone": "UTC",
"dataOwner": "mvsjes2.test.restapi@gmail.com",
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
}
}
headers:
- date
- Thu, 16 Apr 2026 19:11:41 GMT
- server
- ESF
- pragma
- no-cache
- x-content-type-options
- nosniff
- alt-svc
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
- x-xss-protection
- '0'
- accept-ranges
- none
- x-frame-options
- SAMEORIGIN
- expires
- Mon, 01 Jan 1990 00:00:00 GMT
- cache-control
- no-cache, no-store, max-age=0, must-revalidate
- content-type
- application/json; charset=UTF-8
- transfer-encoding
- chunked
- x-l2-request-path
- l2-managed-14
- vary
- X-Origin
- vary
- Referer
- vary
- Origin,Accept-Encoding
message: OK
source: Test::Google::RestApi::CalendarApi3::create_and_delete_calendar
---
request: DELETE /calendar/v3/calendars/5aadde077a778ab6ccccc3a30e90f51164c5cd4c13ecbdad6e9ead63e2c3b853@group.calendar.google.com
response:
code: 204
content: ''
headers:
- content-length
- '0'
- date
- Thu, 16 Apr 2026 19:11:43 GMT
- alt-svc
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
- x-xss-protection
- '0'
- x-content-type-options
- nosniff
- pragma
- no-cache
- server
- ESF
- content-type
- text/html
- cache-control
- no-cache, no-store, max-age=0, must-revalidate
- x-frame-options
- SAMEORIGIN
- expires
- Mon, 01 Jan 1990 00:00:00 GMT
- vary
- Origin
- vary
- X-Origin
- vary
- Referer
- x-l2-request-path
- l2-managed-14
message: No Content
source: Test::Google::RestApi::CalendarApi3::create_and_delete_calendar
---
query_params:
fields: nextPageToken, items(id, summary)
request: GET /calendar/v3/users/me/calendarList
response:
code: 200
content: |
{
"items": [
{
"id": "mvsjes2.test.restapi@gmail.com",
"summary": "mvsjes2.test.restapi@gmail.com"
},
{
"id": "5aadde077a778ab6ccccc3a30e90f51164c5cd4c13ecbdad6e9ead63e2c3b853@group.calendar.google.com",
"summary": "Test Calendar"
}
]
}
headers:
- vary
- X-Origin
- vary
- Referer
- vary
- Origin,Accept-Encoding
- x-content-type-options
- nosniff
- x-xss-protection
- '0'
- alt-svc
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
- server
- ESF
- x-l2-request-path
- l2-managed-14
- cache-control
- private, max-age=0, must-revalidate, no-transform
- content-type
- application/json; charset=UTF-8
- transfer-encoding
- chunked
- accept-ranges
- none
- x-frame-options
- SAMEORIGIN
- expires
- Thu, 16 Apr 2026 19:11:44 GMT
- date
- Thu, 16 Apr 2026 19:11:44 GMT
message: OK
source: Test::Google::RestApi::CalendarApi3::list_calendars
---
query_params:
fields: nextPageToken, items(id, summary)
request: GET /calendar/v3/users/me/calendarList
response:
code: 200
content: |
{
"items": [
{
"id": "mvsjes2.test.restapi@gmail.com",
"summary": "mvsjes2.test.restapi@gmail.com"
},
{
"id": "5aadde077a778ab6ccccc3a30e90f51164c5cd4c13ecbdad6e9ead63e2c3b853@group.calendar.google.com",
"summary": "Test Calendar"
}
]
}
headers:
- cache-control
- private, max-age=0, must-revalidate, no-transform
- content-type
- application/json; charset=UTF-8
- transfer-encoding
- chunked
- accept-ranges
- none
- x-frame-options
- SAMEORIGIN
- expires
- Thu, 16 Apr 2026 19:11:46 GMT
- vary
- X-Origin
- vary
- Referer
- vary
- Origin,Accept-Encoding
- x-l2-request-path
- l2-managed-14
- date
- Thu, 16 Apr 2026 19:11:46 GMT
- x-content-type-options
- nosniff
- alt-svc
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
- x-xss-protection
- '0'
- server
- ESF
message: OK
source: Test::Google::RestApi::CalendarApi3::list_calendars_max_pages
( run in 4.398 seconds using v1.01-cache-2.11-cpan-0fb53d1c279 )