···186186let parse_bookmark_response json =
187187 (* The response format is different based on endpoint, need to handle both structures *)
188188 (* Print the whole JSON structure for debugging *)
189189- Printf.eprintf "Full response JSON: %s\n" (J.value_to_string json);
190189191190 try
192191 (* Standard list format with total count *)
+1-1
test/test.ml
···3344let print_bookmark bookmark =
55 let title = match bookmark.title with Some t -> t | None -> "(No title)" in
66- Printf.printf "- %s\n URL: %s\n Created: %s\n Tags: %s\n\n" title
66+ Printf.printf "- %s\n URL: %s\n Created: %s\n Tags: %s\n---\n\n" title
77 bookmark.url
88 (Ptime.to_rfc3339 bookmark.created_at)
99 (String.concat ", " bookmark.tags)