Hi Raja,

You should be able to use Projections (more "embed" params) to embed 
whatever information you need. See REST API docs 
at https://github.com/DSpace/RestContract/blob/dspace-7_x/projections.md  
(See especially the examples for "Multi-level embeds")

For example, adding "embed=bundles/bitstreams" should embed all the bundles 
and all bitstreams data into that single REST API request.  Keep in mind 
however that the more information you embed, the longer the request will 
take.  So, sometimes developers have found it can be better for performance 
to send several smaller requests than to send one request with a lot of 
embedded data.

Tim

On Monday, April 8, 2024 at 4:43:41 AM UTC-5 [email protected] wrote:

> Hello Team,
>
> Kindly help to get the ORIGINAL bundle bit-stream details in that discover 
> search API.
>
> Regards,
> Raja
>
> On Wednesday, April 3, 2024 at 3:57:11 PM UTC+5:30 Raja muthukrishnan 
> Ramanujam wrote:
>
>> Hello Team,
>>
>> We used below search API for getting THUMBNAIL bundle details using embed 
>> param, we needs ORIGINAL bundle details also, Kindly help to get the 
>> ORIGINAL bundle bitstreams details in this discover search API.
>>
>> *Search Endpoints:*
>>
>> http://localhost:8080/server/api/discover/search/objects?sort=dc.date.accessioned,DESC&page=0&size=100&configuration=default&embed=thumbnail&embed=bundles
>>  
>>
>> Regards,
>> Raja
>>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/d98ed948-9251-4575-9bac-f4e07ae8ddc2n%40googlegroups.com.

Reply via email to