example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #167

Mar
17
Tue

Architecture Review

8:39 AM – 2:57 PM

Cafeteria

Civis verto molestias.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 167,
  "ownerUserId": 71,
  "title": "Architecture Review",
  "description": "Civis verto molestias.",
  "startAt": "2026-03-17T08:39:35.415Z",
  "endAt": "2026-03-17T14:57:57.202Z",
  "isAllDay": false,
  "location": "Cafeteria",
  "attendeeUserIds": [
    12,
    216,
    211
  ],
  "createdAt": "2026-03-16T14:26:40.325Z",
  "updatedAt": "2026-05-01T21:09:54.950Z"
}