Re: [dspace-tech] REST get bitstreams gives only 20

2018-12-21 Thread Paul Warner
Thanks, Terry! I am sure that’s it, but as I am on a break til the new year, I can‘t try it out til then. ;-) I will post a proper response then. Thanks again, Paul Terry Brady schrieb am Fr. 21. Dez. 2018 um 18:05: > Paul, > > Try setting limit=100 to bring back a large list. Or, you can set

[dspace-tech] Record causes "query did not return a unique result: 2"

2018-12-21 Thread George Kozak
Hello: We have an old record (from 2007) that is causing an error when we try to view it normally: query did not return a unique result: 2 I can view it by going into the Admin UI and finding it by its internal id. I checked the database. The internal id and the handle are unique. I exported it,

Re: [dspace-tech] REST get bitstreams gives only 20

2018-12-21 Thread Terry Brady
Paul, Try setting limit=100 to bring back a large list. Or, you can set offset=20 to paginate through the results. https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L286 I think that there may be code that caps the maximum size that

[dspace-tech] REST get bitstreams gives only 20

2018-12-21 Thread Paul Warner
Hi, I am using this command: - GET /items/{item id}/bitstreams - Return item bitstreams. to get the bitstream information for an item. I have some items with more than 20 bitstreams, but I seem to get only the first 20 with the REST API. I get the file information for the item with this