example-data.com
Menu
Browse docs and collections

Overview

event-rsvps / #80

Activity #80

User #166 RSVP'd going Event #8

8/16/2025, 2:49:52 PM

Component variants

Medium
Small

User #166 RSVP'd going Event #8 · 8/16/2025, 2:49:52 PM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 80,
  "eventId": 8,
  "userId": 166,
  "status": "going",
  "respondedAt": "2025-08-16T14:49:52.504Z"
}