example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #320

Apr
21
Tue

Board Meeting

9:35 PM – 9:35 PM

Cafeteria

Totidem explicabo adicio basium conventus asperiores sed.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 320,
  "ownerUserId": 134,
  "title": "Board Meeting",
  "description": "Totidem explicabo adicio basium conventus asperiores sed.",
  "startAt": "2026-04-21T21:35:23.148Z",
  "endAt": "2026-04-22T21:35:23.148Z",
  "isAllDay": true,
  "location": "Cafeteria",
  "attendeeUserIds": [
    95,
    161,
    94
  ],
  "createdAt": "2026-05-09T10:34:10.709Z",
  "updatedAt": "2026-05-13T00:45:08.430Z"
}