example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #1091

Activity #1091

User #41 RSVP'd going Event #122

5/28/2025, 6:52:54 PM

Component variants

Medium
Small

User #41 RSVP'd going Event #122 · 5/28/2025, 6:52:54 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1091,
  "eventId": 122,
  "userId": 41,
  "status": "going",
  "respondedAt": "2025-05-28T18:52:54.316Z"
}