Activity #357
User #219 favorited Book #52
12/14/2025, 9:49:33 AM
Overview
book-favs / #357
User #219 favorited Book #52
12/14/2025, 9:49:33 AM
User #219 favorited Book #52
12/14/2025, 9:49:33 AM
View recordUser #219 favorited Book #52 · 12/14/2025, 9:49:33 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/357" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/357" ); 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/357"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/357"
)
book_fav = res.json() Response
{
"id": 357,
"userId": 219,
"bookId": 52,
"savedAt": "2025-12-14T09:49:33.069Z"
}