example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #266

Apr
17
Fri

Security Training

5:08 PM – 8:10 PM

Microsoft Teams

Vinitor nobis crinis delibero.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 266,
  "ownerUserId": 113,
  "title": "Security Training",
  "description": "Vinitor nobis crinis delibero.",
  "startAt": "2026-04-17T17:08:23.582Z",
  "endAt": "2026-04-17T20:10:22.981Z",
  "isAllDay": false,
  "location": "Microsoft Teams",
  "attendeeUserIds": [],
  "createdAt": "2026-04-18T02:27:15.846Z",
  "updatedAt": "2026-04-24T16:03:29.283Z"
}