example-data.com
Menu
Browse docs and collections

Overview

calendar-events / #140

Aug
4
Tue

Team Lunch

3:33 AM – 6:41 AM

Office - Floor 3

Amitto agnosco pel ambitus comes strenuus arbustum conspergo.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 140,
  "ownerUserId": 59,
  "title": "Team Lunch",
  "description": "Amitto agnosco pel ambitus comes strenuus arbustum conspergo.",
  "startAt": "2026-08-04T03:33:24.255Z",
  "endAt": "2026-08-04T06:41:50.593Z",
  "isAllDay": false,
  "location": "Office - Floor 3",
  "attendeeUserIds": [
    200
  ],
  "createdAt": "2026-04-02T10:35:14.361Z",
  "updatedAt": "2026-04-12T22:47:17.928Z"
}