example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #451

Apr
12
Sun

Security Training

11:14 AM – 2:02 PM

Aliquid supplanto velum temperantia approbo aeternus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 451,
  "ownerUserId": 185,
  "title": "Security Training",
  "description": "Aliquid supplanto velum temperantia approbo aeternus.",
  "startAt": "2026-04-12T11:14:23.358Z",
  "endAt": "2026-04-12T14:02:00.013Z",
  "isAllDay": false,
  "location": null,
  "attendeeUserIds": [],
  "createdAt": "2026-03-05T10:33:14.757Z",
  "updatedAt": "2026-05-10T17:35:36.158Z"
}