example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #155

May
6
Wed

Team Lunch

12:25 PM – 7:34 PM

Microsoft Teams

Sui stips doloremque blanditiis canto adipiscor voluptate adeo vilicus aperte.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 155,
  "ownerUserId": 66,
  "title": "Team Lunch",
  "description": "Sui stips doloremque blanditiis canto adipiscor voluptate adeo vilicus aperte.",
  "startAt": "2026-05-06T12:25:09.102Z",
  "endAt": "2026-05-06T19:34:20.848Z",
  "isAllDay": false,
  "location": "Microsoft Teams",
  "attendeeUserIds": [
    225
  ],
  "createdAt": "2026-03-30T00:33:27.238Z",
  "updatedAt": "2026-04-01T22:14:53.705Z"
}