example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #98

Activity #98

User #209 RSVP'd going Event #9

10/1/2025, 3:56:51 PM

Component variants

Medium
Small

User #209 RSVP'd going Event #9 · 10/1/2025, 3:56:51 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 98,
  "eventId": 9,
  "userId": 209,
  "status": "going",
  "respondedAt": "2025-10-01T15:56:51.046Z"
}