example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #406

Jun
12
Fri

Security Training

8:23 AM – 10:17 AM

Conference Room A

Texo est volup.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/calendar-events/406"
);
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/406"
);
const calendarEvent = (await res.json()) as CalendarEvent;

Python example

import requests

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

Response

{
  "id": 406,
  "ownerUserId": 167,
  "title": "Security Training",
  "description": "Texo est volup.",
  "startAt": "2026-06-12T08:23:41.879Z",
  "endAt": "2026-06-12T10:17:08.878Z",
  "isAllDay": false,
  "location": "Conference Room A",
  "attendeeUserIds": [
    224,
    98,
    206
  ],
  "createdAt": "2026-05-17T12:53:34.259Z",
  "updatedAt": "2026-05-19T01:12:54.121Z"
}