example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #305

Feb
22
Sun

Sprint Planning

2:33 AM – 2:33 AM

Conference Room A

Patior dolore vesica.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 305,
  "ownerUserId": 128,
  "title": "Sprint Planning",
  "description": "Patior dolore vesica.",
  "startAt": "2026-02-22T02:33:47.062Z",
  "endAt": "2026-02-23T02:33:47.062Z",
  "isAllDay": true,
  "location": "Conference Room A",
  "attendeeUserIds": [
    76,
    97,
    222,
    215,
    236
  ],
  "createdAt": "2026-03-16T00:58:36.754Z",
  "updatedAt": "2026-05-10T00:35:48.031Z"
}