mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f25c2150fc
commit
05b878d29d
@ -179,6 +179,9 @@ class AjaxServer(object):
|
|||||||
the metadata. The format for the metadata is the same as in
|
the metadata. The format for the metadata is the same as in
|
||||||
ajax_book(). If no book is found for a given id, it is mapped to null
|
ajax_book(). If no book is found for a given id, it is mapped to null
|
||||||
in the dictionary.
|
in the dictionary.
|
||||||
|
|
||||||
|
This endpoint can be used with either GET or POST requests, variable
|
||||||
|
name is ids: /ajax/books?ids=1,2,3,4,5
|
||||||
'''
|
'''
|
||||||
if ids is None:
|
if ids is None:
|
||||||
raise cherrypy.HTTPError(404, 'Must specify some ids')
|
raise cherrypy.HTTPError(404, 'Must specify some ids')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user