View Single Post
Old 06-24-2015, 03:31 PM   #1
mindblender
Junior Member
mindblender began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2013
Device: iPad
Ajax Endpoint usage?

I am trying to use the endpoints listed in https://github.com/kovidgoyal/calibr...re/srv/ajax.py and I seem to not be using them correctly or am missing something.

Here are the URLs I am hitting and their response:
http://<calibre_ip>:8080/ajax/books - I get "must specify some ids." I would expect a list of books returned when if I do not pass a list of IDs.

http://<calibre_ip>:8080/ajax/book/123 - I get the book details for book 123

Any suggestion on how to get a list of books?

Some additional notes/suggestions:
when hitting http://<calibre_ip>:8080/ajax/categories - if an entry is not a category, then do not return a URL since the URL results in a 404. Otherwise, allow access to non-categories such as "Newest" and "All Books".

Thanks!
Jeff
mindblender is offline   Reply With Quote