Activity #35
User #18 favorited Book #159
12/22/2025, 9:17:10 PM
Overview
book-favs / #35
User #18 favorited Book #159
12/22/2025, 9:17:10 PM
User #18 favorited Book #159
12/22/2025, 9:17:10 PM
View recordUser #18 favorited Book #159 · 12/22/2025, 9:17:10 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/35" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/35" ); 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/35"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/35"
)
book_fav = res.json() Response
{
"id": 35,
"userId": 18,
"bookId": 159,
"savedAt": "2025-12-22T21:17:10.133Z"
}