example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #307

Mar
24
Tue

Board Meeting

7:19 AM – 2:30 PM

Main Boardroom

Vitium porro sit valde repellendus accusantium curvo supplanto.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 307,
  "ownerUserId": 129,
  "title": "Board Meeting",
  "description": "Vitium porro sit valde repellendus accusantium curvo supplanto.",
  "startAt": "2026-03-24T07:19:21.368Z",
  "endAt": "2026-03-24T14:30:16.527Z",
  "isAllDay": false,
  "location": "Main Boardroom",
  "attendeeUserIds": [
    21,
    41,
    140,
    249,
    30
  ],
  "createdAt": "2026-05-21T12:51:07.301Z",
  "updatedAt": "2026-05-21T17:12:11.088Z"
}