Hi Jose,

I think you are likely looking for the code that responds to
[item_id]/bitstreams path, that'd be here:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L287

In general, with the REST API, if you look at what URL you are requesting,
you should be able to search the 'dspace-rest' code for an
corresponding @Path statement. That would help you find the method that
responds to that URL path.

- Tim

On Tue, Mar 14, 2017 at 9:04 AM Jose Blanco <[email protected]> wrote:

If you make a request to the rest api for the bitstreams in an item
and one of the bitstreams is restricted, the response does not include
that bitstream.  This makes sense, but we do have a user that should
be able to get that bitstream because he is the admin of that
collection.  Could someone point me to where that logic takes place in
the code?

Thank you!
Jose

--
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.

-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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.

Reply via email to