On Thursday, August 30, 2018 at 10:26:27 AM UTC-4, Plate, Michael wrote: > > I struggled with this, too - I think it is not documented, but you can > append the parameter "limit", e.g. > > /rest/communities?limit=500 > > should return 500 entries (I only tried the "communities" and > "collections" > endpoints). There is also a parameter "offset", I think. > Have a look into > [dspace-source]/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java > >
You are correct: endpoints which return arrays of objects (communities, collections, etc.) are "paginated", and you can use the query parameters 'limit' and 'offset' (zero-based) to set the size of a "page" and how many objects to skip before adding the next one to the current "page". Unfortunately you are also correct to say that this was not documented. It is now. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
