mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 08:23:42 +02:00
...
This commit is contained in:
parent
f25c2150fc
commit
05b878d29d
1 changed files with 3 additions and 0 deletions
|
|
@ -179,6 +179,9 @@ def ajax_books(self, ids=None):
|
|||
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
|
||||
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:
|
||||
raise cherrypy.HTTPError(404, 'Must specify some ids')
|
||||
|
|
|
|||
Loading…
Reference in a new issue