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 <terry.br...@georgetown.edu> schrieb am Fr. 21. Dez. 2018 um
18:05:

> 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 limit can
> be set to.
>
> The limit and offset parameters should exist on most enpoints that return
> a list.
>
> Terry
>
> On Fri, Dec 21, 2018 at 6:42 AM Paul Warner <paulwwar...@gmail.com> wrote:
>
>> 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 command, then I go
>> through the list and find the BUNDLE: TEXT files that are at the end, and
>> capture the text.  But if these files are not in the list, because it cuts
>> off at 20, then my program fails for those items.  How do I get the whole
>> list via REST?
>>
>> Thanks in advance for any tips.
>>
>> Best regards,
>> Paul Warner
>>
>> --
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>
>
>> To post to this group, send email to dspace-tech@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://github.com/terrywbrady/info
> 425-298-5498 (Seattle, WA)
>
> --
> 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 a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/qYtTDZG4z1I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to