Activity #84
User #43 favorited Book #87
3/2/2026, 6:09:03 AM
Overview
book-favs / #84
User #43 favorited Book #87
3/2/2026, 6:09:03 AM
User #43 favorited Book #87
3/2/2026, 6:09:03 AM
View recordUser #43 favorited Book #87 · 3/2/2026, 6:09:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/84" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/84" ); const bookFav = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/book-favs.d.ts https://example-data.com/types/book-favs.d.ts
import type { BookFav } from "./types/book-favs";
const res = await fetch(
"https://example-data.com/api/v1/book-favs/84"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/84"
)
book_fav = res.json() Response
{
"id": 84,
"userId": 43,
"bookId": 87,
"savedAt": "2026-03-02T06:09:03.943Z"
}