Hi Bojan,

I want to use the REST Interface for browsing our DSpace repository by
title, date and subject. When trying to sort items I get problems with
the pagination. The _perpage parameter does not work. Using _perpage
alone has no influence on the number of retrieved items. I always get
all items. Using a combination of _perpage and _page delivers strange
results. For example, _perpage=2&_page=1 gives all items,
_perpage=4&_page=1 gives 4 items, and _perpage=4&_perpage=2 is empty.

I have two further questions:

1. The sorting process gives no information about the total number of
items in the repository. Therefore, before starting pagination I have to
request all items and count them, in order to realize the pagination.
Is there a better way to do browsing via REST?

2. The metadata of an item are presented as strings, which is not very
comfortable to handle. I would prefer to have them via tag per metadata
field. Do you plan to realize something like this?

With regards,
Marianna 


-- 

Marianna Mühlhölzer
Niedersächsische Staats- und Universitätsbibliothek
BibliotheksInformationsSysteme
Platz der Göttinger Sieben 1
37073 Göttingen
Zi.: 2.38
Tel.: +49 (0)551 39-4255
E-Mail: muehlhoel...@sub.uni-goettingen.de


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/REST-API-for-DSpace-tp3343457p3605171.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to