example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #26

Jun
13
Sat

Off-site Planning

6:13 AM – 12:40 PM

Cafeteria

Crux bellicus circumvenio officia vulgus unus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 26,
  "ownerUserId": 12,
  "title": "Off-site Planning",
  "description": "Crux bellicus circumvenio officia vulgus unus.",
  "startAt": "2026-06-13T06:13:51.370Z",
  "endAt": "2026-06-13T12:40:29.239Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [],
  "createdAt": "2026-03-10T03:51:11.452Z",
  "updatedAt": "2026-05-16T15:49:51.703Z"
}