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