example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #389

Mar
16
Mon

Team Lunch

2:27 PM – 10:07 PM

Rooftop

Ustilo vivo paulatim cibus clamo creo cubo et.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 389,
  "ownerUserId": 159,
  "title": "Team Lunch",
  "description": "Ustilo vivo paulatim cibus clamo creo cubo et.",
  "startAt": "2026-03-16T14:27:07.108Z",
  "endAt": "2026-03-16T22:07:24.818Z",
  "isAllDay": false,
  "location": "Rooftop",
  "attendeeUserIds": [
    185
  ],
  "createdAt": "2026-03-22T13:54:26.680Z",
  "updatedAt": "2026-05-06T02:14:14.697Z"
}