example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #328

Feb
27
Fri

Security Training

4:43 PM – 4:43 PM

Main Boardroom

Cedo cognomen conicio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 328,
  "ownerUserId": 136,
  "title": "Security Training",
  "description": "Cedo cognomen conicio.",
  "startAt": "2026-02-27T16:43:02.483Z",
  "endAt": "2026-02-28T16:43:02.483Z",
  "isAllDay": true,
  "location": "Main Boardroom",
  "attendeeUserIds": [
    230,
    165
  ],
  "createdAt": "2026-03-24T18:28:00.332Z",
  "updatedAt": "2026-04-22T06:10:33.054Z"
}