example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #171

Feb
27
Fri

Architecture Review

9:07 PM – 2:40 AM

Rooftop

Pecto stella subito suadeo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 171,
  "ownerUserId": 74,
  "title": "Architecture Review",
  "description": "Pecto stella subito suadeo.",
  "startAt": "2026-02-27T21:07:03.720Z",
  "endAt": "2026-02-28T02:40:31.250Z",
  "isAllDay": false,
  "location": "Rooftop",
  "attendeeUserIds": [
    149,
    114,
    222,
    208
  ],
  "createdAt": "2026-03-16T19:03:08.604Z",
  "updatedAt": "2026-04-19T17:23:42.766Z"
}