example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #1298

Activity #1298

User #114 RSVP'd going Event #142

8/5/2025, 1:56:17 AM

Component variants

Medium
Small

User #114 RSVP'd going Event #142 · 8/5/2025, 1:56:17 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1298,
  "eventId": 142,
  "userId": 114,
  "status": "going",
  "respondedAt": "2025-08-05T01:56:17.111Z"
}