example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #548

Mar
18
Wed

Team Lunch

8:35 PM – 2:04 AM

Conforto unus vinum tamen adstringo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 548,
  "ownerUserId": 229,
  "title": "Team Lunch",
  "description": "Conforto unus vinum tamen adstringo.",
  "startAt": "2026-03-18T20:35:37.206Z",
  "endAt": "2026-03-19T02:04:46.255Z",
  "isAllDay": false,
  "location": null,
  "attendeeUserIds": [],
  "createdAt": "2026-05-07T03:21:04.329Z",
  "updatedAt": "2026-05-19T11:00:44.563Z"
}