Activity #171
User #92 favorited Book #14
10/2/2025, 5:30:36 AM
Overview
book-favs / #171
User #92 favorited Book #14
10/2/2025, 5:30:36 AM
User #92 favorited Book #14
10/2/2025, 5:30:36 AM
View recordUser #92 favorited Book #14 · 10/2/2025, 5:30:36 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/171" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/171" ); 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/171"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/171"
)
book_fav = res.json() Response
{
"id": 171,
"userId": 92,
"bookId": 14,
"savedAt": "2025-10-02T05:30:36.066Z"
}