example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #309

Jul
29
Wed

Security Training

10:23 AM – 2:02 PM

Office - Floor 3

Corporis est cui earum cohaero admoneo verbera balbus aegre porro.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 309,
  "ownerUserId": 129,
  "title": "Security Training",
  "description": "Corporis est cui earum cohaero admoneo verbera balbus aegre porro.",
  "startAt": "2026-07-29T10:23:36.465Z",
  "endAt": "2026-07-29T14:02:24.966Z",
  "isAllDay": false,
  "location": "Office - Floor 3",
  "attendeeUserIds": [],
  "createdAt": "2026-03-02T17:07:47.467Z",
  "updatedAt": "2026-05-01T04:59:32.753Z"
}