example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #321

Apr
30
Thu

Quarterly Review

1:16 AM – 7:12 AM

Cafeteria

Traho atque creber aggredior via pariatur aequitas sophismata.

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/calendar-events/321" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/321"
);
const calendarEvent = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/calendar-events.d.ts https://example-data.com/types/calendar-events.d.ts
import type { CalendarEvent } from "./types/calendar-events";

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/321"
);
const calendarEvent = (await res.json()) as CalendarEvent;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/calendar-events/321"
)
calendar_event = res.json()

Response

{
  "id": 321,
  "ownerUserId": 134,
  "title": "Quarterly Review",
  "description": "Traho atque creber aggredior via pariatur aequitas sophismata.",
  "startAt": "2026-04-30T01:16:08.338Z",
  "endAt": "2026-04-30T07:12:02.400Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    55,
    161,
    179,
    175
  ],
  "createdAt": "2026-04-20T23:54:20.413Z",
  "updatedAt": "2026-05-17T01:24:46.402Z"
}