example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #148

Activity #148

User #99 RSVP'd going Event #15

6/23/2025, 8:21:01 PM

Component variants

Medium
Small

User #99 RSVP'd going Event #15 · 6/23/2025, 8:21:01 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 148,
  "eventId": 15,
  "userId": 99,
  "status": "going",
  "respondedAt": "2025-06-23T20:21:01.337Z"
}