Required Search API ORIGINAL bundle bitstreams details

54 views
Skip to first unread message

Raja muthukrishnan Ramanujam

unread,
Apr 3, 2024, 6:27:11 AM4/3/24
to DSpace Community
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:

Regards,
Raja

Raja muthukrishnan Ramanujam

unread,
Apr 8, 2024, 5:43:41 AM4/8/24
to DSpace Community
Hello Team,

Kindly help to get the ORIGINAL bundle bit-stream details in that discover search API.

Regards,
Raja

DSpace Community

unread,
Apr 23, 2024, 5:58:19 PM4/23/24
to DSpace Community
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

Reply all
Reply to author
Forward
0 new messages