example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #6

Jun
19
Fri

Design Critique

5:04 AM – 7:01 AM

Rooftop

Abbas aranea rerum cetera crur sordeo tutamen advenio tabella ago.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 6,
  "ownerUserId": 2,
  "title": "Design Critique",
  "description": "Abbas aranea rerum cetera crur sordeo tutamen advenio tabella ago.",
  "startAt": "2026-06-19T05:04:20.827Z",
  "endAt": "2026-06-19T07:01:32.510Z",
  "isAllDay": false,
  "location": "Rooftop",
  "attendeeUserIds": [
    165,
    28
  ],
  "createdAt": "2026-04-13T14:16:38.070Z",
  "updatedAt": "2026-04-20T11:11:50.228Z"
}