example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #1337

Activity #1337

User #106 RSVP'd going Event #146

7/11/2025, 11:38:24 AM

Component variants

Medium
Small

User #106 RSVP'd going Event #146 · 7/11/2025, 11:38:24 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1337,
  "eventId": 146,
  "userId": 106,
  "status": "going",
  "respondedAt": "2025-07-11T11:38:24.980Z"
}