|
|
#1 |
|
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Calibre server REST API (ajax)
Hi, I know the latest server has "some" support for web-based interaction.
I can get a json list of authors by GET "https://serverip:8080/ajax/category/617574686f7273" I have been unable to get a (reasonably) complete list of possible commands. Is such a beast available somewhere? TiA |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,706
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Grep the srv directory for @endpoint
And just FYI the server has a complete ajax API, for evey possible operation |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
Thanks Kovid,
I already found that. Problem is I am (still) unable to find out what I should use. Problem at hand is I want to programmatically control a Calibre lib which reside on my NAS (I'm using https://hub.docker.com/r/aptalca/docker-rdp-calibre/, if that matters) accessible only through web. What I need is essentially to be able to insert an empty book to the lib and, later, to modify metadata and/or content. The srv/ajax.py module has means to query but apparently not to POST a new book. srv/cdb.py may be what I need, but it's usage isn't obvious. Can You provide a bit more insight? TiA |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,706
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the calibredb command line tool which can connect to a remote server. https://manual.calibre-ebook.com/gen...calibredb.html
|
|
|
|
![]() |
| Tags |
| calibre rest api |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get author list from AJAX API | isaacdl | Development | 1 | 02-19-2014 10:27 PM |
| is there a REST style API? | joelbrave | Development | 2 | 09-16-2013 06:35 PM |
| Calibre update breaks Calibre API | TechnoCat | Recipes | 5 | 01-29-2013 12:25 AM |
| calibre Content Server Interfacing API | alexyeo | Development | 2 | 11-01-2011 12:18 AM |
| calibre's new plugin API | kovidgoyal | Plugins | 26 | 05-07-2011 03:43 PM |