example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #540

May
22
Fri

Sprint Planning

5:40 AM – 10:08 AM

Conference Room B

Conturbo temperantia agnitio conscendo repudiandae aperte aeternus aptus.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 540,
  "ownerUserId": 226,
  "title": "Sprint Planning",
  "description": "Conturbo temperantia agnitio conscendo repudiandae aperte aeternus aptus.",
  "startAt": "2026-05-22T05:40:52.208Z",
  "endAt": "2026-05-22T10:08:24.699Z",
  "isAllDay": false,
  "location": "Conference Room B",
  "attendeeUserIds": [
    2,
    94,
    124,
    135
  ],
  "createdAt": "2026-04-26T11:28:05.421Z",
  "updatedAt": "2026-05-04T02:07:29.099Z"
}