example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #398

Jul
8
Wed

Demo Day

3:08 AM – 10:06 AM

Cafeteria

Aeneus peior crebro substantia.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 398,
  "ownerUserId": 163,
  "title": "Demo Day",
  "description": "Aeneus peior crebro substantia.",
  "startAt": "2026-07-08T03:08:13.756Z",
  "endAt": "2026-07-08T10:06:09.660Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    187,
    174,
    85,
    123
  ],
  "createdAt": "2026-04-30T04:14:31.935Z",
  "updatedAt": "2026-05-13T01:53:26.526Z"
}