example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #242

Mar
10
Tue

Design Critique

6:44 PM – 1:04 AM

Cafeteria

Sit astrum autem.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 242,
  "ownerUserId": 104,
  "title": "Design Critique",
  "description": "Sit astrum autem.",
  "startAt": "2026-03-10T18:44:20.470Z",
  "endAt": "2026-03-11T01:04:03.681Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    69
  ],
  "createdAt": "2026-05-04T12:08:53.660Z",
  "updatedAt": "2026-05-10T04:02:49.745Z"
}