example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #370

Apr
30
Thu

Demo Day

7:32 PM – 8:54 PM

Conference Room B

Aeger atrox suasoria aestas decet administratio tepesco.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 370,
  "ownerUserId": 151,
  "title": "Demo Day",
  "description": "Aeger atrox suasoria aestas decet administratio tepesco.",
  "startAt": "2026-04-30T19:32:11.825Z",
  "endAt": "2026-04-30T20:54:28.804Z",
  "isAllDay": false,
  "location": "Conference Room B",
  "attendeeUserIds": [
    91,
    59,
    108,
    52
  ],
  "createdAt": "2026-05-16T22:07:08.540Z",
  "updatedAt": "2026-05-17T14:44:35.830Z"
}