example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #512

Feb
21
Sat

Board Meeting

6:55 PM – 1:13 AM

Astrum soleo suppono caritas cras inflammatio.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 512,
  "ownerUserId": 214,
  "title": "Board Meeting",
  "description": "Astrum soleo suppono caritas cras inflammatio.",
  "startAt": "2026-02-21T18:55:40.374Z",
  "endAt": "2026-02-22T01:13:36.987Z",
  "isAllDay": false,
  "location": null,
  "attendeeUserIds": [
    157
  ],
  "createdAt": "2026-04-06T05:12:47.723Z",
  "updatedAt": "2026-04-16T16:26:23.524Z"
}