example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #42

Activity #42

User #151 RSVP'd going Event #5

3/5/2026, 5:54:07 PM

Component variants

Medium
Small

User #151 RSVP'd going Event #5 · 3/5/2026, 5:54:07 PM

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/event-rsvps/42"
);
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/42"
);
const eventRsvp = (await res.json()) as EventRsvp;

Python example

import requests

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

Response

{
  "id": 42,
  "eventId": 5,
  "userId": 151,
  "status": "going",
  "respondedAt": "2026-03-05T17:54:07.784Z"
}