example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #161

Mar
7
Sat

Security Training

11:16 PM – 11:16 PM

Cafeteria

Autus abeo appositus rem caveo advenio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 161,
  "ownerUserId": 69,
  "title": "Security Training",
  "description": "Autus abeo appositus rem caveo advenio.",
  "startAt": "2026-03-07T23:16:15.548Z",
  "endAt": "2026-03-08T23:16:15.548Z",
  "isAllDay": true,
  "location": "Cafeteria",
  "attendeeUserIds": [
    198,
    149,
    117
  ],
  "createdAt": "2026-04-13T03:55:03.531Z",
  "updatedAt": "2026-05-20T11:48:37.216Z"
}