example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #426

Activity #426

User #64 RSVP'd going Event #44

6/28/2025, 11:19:22 PM

Component variants

Medium
Small

User #64 RSVP'd going Event #44 · 6/28/2025, 11:19:22 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 426,
  "eventId": 44,
  "userId": 64,
  "status": "going",
  "respondedAt": "2025-06-28T23:19:22.311Z"
}