changed cmx/ endpoint to books/ in sample