Google-RestApi

 view release on metacpan or  search on metacpan

t/unit/Test/Google/RestApi/CalendarApi3/Event.pm.exchanges  view on Meta::CPAN

---
request: POST /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com/events
request_content:
  end:
    dateTime: 2026-03-01T11:00:00Z
  start:
    dateTime: 2026-03-01T10:00:00Z
  summary: Test Event
response:
  code: 200
  content: |
    {
     "kind": "calendar#event",
     "etag": "\"3552733669210686\"",
     "id": "3sjmu3nh7n1bt9qv5aodl0agd4",
     "status": "confirmed",
     "htmlLink": "https://www.google.com/calendar/event?eid=M3NqbXUzbmg3bjFidDlxdjVhb2RsMGFnZDQgMDkzOGRhNjRjZGE4NTlkNzIxODFjYjJmOGUwNDg5YzIyZjE5ZjNkMzg4YTZkNWZjNTc5YmRjZTI5YWFlNzBkZUBn",
     "created": "2026-04-16T19:13:54.000Z",
     "updated": "2026-04-16T19:13:54.605Z",
     "summary": "Test Event",
     "creator": {
      "email": "mvsjes2.test.restapi@gmail.com"
     },
     "organizer": {
      "email": "0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com",
      "displayName": "Test Calendar Events",
      "self": true
     },
     "start": {
      "dateTime": "2026-03-01T10:00:00Z",
      "timeZone": "UTC"
     },
     "end": {
      "dateTime": "2026-03-01T11:00:00Z",
      "timeZone": "UTC"
     },
     "iCalUID": "3sjmu3nh7n1bt9qv5aodl0agd4@google.com",
     "sequence": 0,
     "reminders": {
      "useDefault": true
     },
     "eventType": "default"
    }
  headers:
  - date
  - Thu, 16 Apr 2026 19:13:54 GMT
  - x-xss-protection
  - '0'
  - alt-svc
  - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  - x-content-type-options
  - nosniff
  - pragma
  - no-cache
  - server
  - ESF
  - transfer-encoding
  - chunked
  - content-type
  - application/json; charset=UTF-8
  - cache-control
  - no-cache, no-store, max-age=0, must-revalidate
  - expires
  - Mon, 01 Jan 1990 00:00:00 GMT
  - x-frame-options
  - SAMEORIGIN
  - accept-ranges
  - none
  - vary
  - X-Origin
  - vary
  - Referer
  - vary
  - Origin,Accept-Encoding
  - x-l2-request-path
  - l2-managed-14
  message: OK
source: Test::Google::RestApi::CalendarApi3::Event::create_and_delete

---
request: GET /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com/events/3sjmu3nh7n1bt9qv5aodl0agd4
response:
  code: 200
  content: |
    {
     "kind": "calendar#event",
     "etag": "\"3552733669210686\"",
     "id": "3sjmu3nh7n1bt9qv5aodl0agd4",
     "status": "confirmed",
     "htmlLink": "https://www.google.com/calendar/event?eid=M3NqbXUzbmg3bjFidDlxdjVhb2RsMGFnZDQgMDkzOGRhNjRjZGE4NTlkNzIxODFjYjJmOGUwNDg5YzIyZjE5ZjNkMzg4YTZkNWZjNTc5YmRjZTI5YWFlNzBkZUBn",
     "created": "2026-04-16T19:13:54.000Z",
     "updated": "2026-04-16T19:13:54.605Z",
     "summary": "Test Event",
     "creator": {
      "email": "mvsjes2.test.restapi@gmail.com"
     },
     "organizer": {
      "email": "0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com",
      "displayName": "Test Calendar Events",
      "self": true
     },
     "start": {
      "dateTime": "2026-03-01T10:00:00Z",
      "timeZone": "UTC"
     },
     "end": {
      "dateTime": "2026-03-01T11:00:00Z",
      "timeZone": "UTC"
     },
     "iCalUID": "3sjmu3nh7n1bt9qv5aodl0agd4@google.com",
     "sequence": 0,
     "reminders": {
      "useDefault": true
     },
     "eventType": "default"
    }
  headers:
  - content-type
  - application/json; charset=UTF-8
  - transfer-encoding
  - chunked
  - cache-control
  - private, max-age=0, must-revalidate, no-transform
  - x-frame-options
  - SAMEORIGIN
  - expires
  - Thu, 16 Apr 2026 19:13:55 GMT
  - accept-ranges
  - none
  - vary
  - X-Origin
  - vary
  - Referer
  - vary
  - Origin,Accept-Encoding
  - x-l2-request-path
  - l2-managed-14
  - date
  - Thu, 16 Apr 2026 19:13:55 GMT
  - alt-svc
  - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  - x-xss-protection
  - '0'
  - x-content-type-options
  - nosniff
  - server
  - ESF
  message: OK
source: Test::Google::RestApi::CalendarApi3::Event::create_and_delete

---
request: DELETE /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com/events/3sjmu3nh7n1bt9qv5aodl0agd4
response:
  code: 204
  content: ''
  headers:
  - 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'
  - date
  - Thu, 16 Apr 2026 19:13:57 GMT
  - content-length
  - '0'
  - x-l2-request-path
  - l2-managed-14
  - vary
  - Origin
  - vary
  - X-Origin
  - vary
  - Referer
  - 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
  - text/html
  message: No Content
source: Test::Google::RestApi::CalendarApi3::Event::create_and_delete

---
query_params:
  text: Lunch tomorrow at noon
request: POST /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com/events/quickAdd
response:
  code: 200
  content: |
    {
     "kind": "calendar#event",
     "etag": "\"3552733678281022\"",
     "id": "ui7l51hgjcb5auqv3nmv36u4eg",
     "status": "confirmed",
     "htmlLink": "https://www.google.com/calendar/event?eid=dWk3bDUxaGdqY2I1YXVxdjNubXYzNnU0ZWcgMDkzOGRhNjRjZGE4NTlkNzIxODFjYjJmOGUwNDg5YzIyZjE5ZjNkMzg4YTZkNWZjNTc5YmRjZTI5YWFlNzBkZUBn",
     "created": "2026-04-16T19:13:59.000Z",
     "updated": "2026-04-16T19:13:59.140Z",
     "summary": "Lunch",
     "creator": {
      "email": "mvsjes2.test.restapi@gmail.com"
     },
     "organizer": {
      "email": "0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com",
      "displayName": "Test Calendar Events",
      "self": true
     },
     "start": {
      "dateTime": "2026-04-17T12:00:00Z",
      "timeZone": "UTC"
     },
     "end": {
      "dateTime": "2026-04-17T13:00:00Z",
      "timeZone": "UTC"
     },
     "iCalUID": "ui7l51hgjcb5auqv3nmv36u4eg@google.com",
     "sequence": 0,
     "reminders": {
      "useDefault": true
     },
     "eventType": "default"
    }
  headers:
  - date
  - Thu, 16 Apr 2026 19:13:59 GMT
  - pragma
  - no-cache
  - server
  - ESF
  - x-xss-protection
  - '0'
  - alt-svc
  - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  - x-content-type-options
  - nosniff
  - expires
  - Mon, 01 Jan 1990 00:00:00 GMT
  - x-frame-options
  - SAMEORIGIN
  - accept-ranges
  - none
  - transfer-encoding
  - chunked
  - content-type
  - application/json; charset=UTF-8
  - cache-control
  - no-cache, no-store, max-age=0, must-revalidate
  - x-l2-request-path
  - l2-managed-14
  - vary
  - X-Origin
  - vary
  - Referer
  - vary
  - Origin,Accept-Encoding
  message: OK
source: Test::Google::RestApi::CalendarApi3::Event::quick_add

---
request: DELETE /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com/events/ui7l51hgjcb5auqv3nmv36u4eg
response:
  code: 204
  content: ''
  headers:
  - x-content-type-options
  - nosniff
  - x-xss-protection
  - '0'
  - alt-svc
  - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  - server
  - ESF
  - pragma
  - no-cache
  - content-length
  - '0'
  - date
  - Thu, 16 Apr 2026 19:14:00 GMT
  - vary
  - Origin
  - vary
  - X-Origin
  - vary
  - Referer
  - x-l2-request-path
  - l2-managed-14
  - cache-control
  - no-cache, no-store, max-age=0, must-revalidate
  - content-type
  - text/html
  - x-frame-options
  - SAMEORIGIN
  - expires
  - Mon, 01 Jan 1990 00:00:00 GMT
  message: No Content
source: Test::Google::RestApi::CalendarApi3::Event::quick_add

---
request: DELETE /calendar/v3/calendars/0938da64cda859d72181cb2f8e0489c22f19f3d388a6d5fc579bdce29aae70de@group.calendar.google.com
response:
  code: 204
  content: ''
  headers:
  - expires
  - Mon, 01 Jan 1990 00:00:00 GMT
  - x-frame-options
  - SAMEORIGIN
  - content-type
  - text/html
  - cache-control
  - no-cache, no-store, max-age=0, must-revalidate
  - x-l2-request-path
  - l2-managed-14
  - vary
  - Origin
  - vary
  - X-Origin
  - vary
  - Referer
  - date
  - Thu, 16 Apr 2026 19:14:02 GMT
  - content-length
  - '0'
  - pragma
  - no-cache
  - server
  - ESF
  - x-xss-protection
  - '0'
  - alt-svc
  - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
  - x-content-type-options
  - nosniff
  message: No Content
source: Test::Google::RestApi::CalendarApi3::Event::_teardown_live_calendar



( run in 1.066 second using v1.01-cache-2.11-cpan-f52f0507bed )