Activity #297
User #183 favorited Book #4
9/11/2025, 7:57:01 PM
Overview
book-favs / #297
User #183 favorited Book #4
9/11/2025, 7:57:01 PM
User #183 favorited Book #4
9/11/2025, 7:57:01 PM
View recordUser #183 favorited Book #4 · 9/11/2025, 7:57:01 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/book-favs/297" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/book-favs/297" ); 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/297"
);
const bookFav = (await res.json()) as BookFav; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/book-favs/297"
)
book_fav = res.json() Response
{
"id": 297,
"userId": 183,
"bookId": 4,
"savedAt": "2025-09-11T19:57:01.873Z"
}