example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #5

Activity #5

User #123 RSVP'd going Event #1

5/10/2026, 12:47:12 PM

Component variants

Medium
Small

User #123 RSVP'd going Event #1 · 5/10/2026, 12:47:12 PM

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/event-rsvps/5" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/event-rsvps/5"
);
const eventRsvp = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/event-rsvps.d.ts https://example-data.com/types/event-rsvps.d.ts
import type { EventRsvp } from "./types/event-rsvps";

const res = await fetch(
  "https://example-data.com/api/v1/event-rsvps/5"
);
const eventRsvp = (await res.json()) as EventRsvp;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/event-rsvps/5"
)
event_rsvp = res.json()

Response

{
  "id": 5,
  "eventId": 1,
  "userId": 123,
  "status": "going",
  "respondedAt": "2026-05-10T12:47:12.229Z"
}