Hi, You can use the scope -parameter to specify the community/collection with the discovery search API.
https://github.com/DSpace/RestContract/blob/main/search-endpoint.md */api/discover/search/objects*scope: UUID of a specific DSpace container (site, community or collection) to which the search has to be limited, For example https://demo.dspace.org/server/api/discover/search/objects?scope=b7bf809e-b8ea-41bf-b16a-38d78785f557 Best regards, Matti On Monday, September 4, 2023 at 2:26:12 PM UTC+3 Nada Aboueata wrote: > Dear DSpace community, > > I want to use DSpace 7 rest api to retrieve all items under a > specific collection. > > I checked all items endpoints in the following link ( RestContract/items.md > at main · DSpace/RestContract · GitHub > <https://github.com/DSpace/RestContract/blob/main/items.md> ). However, > I couldn't find any URI to filter archived items based on a specific owning > collection. > > Any help. > > > -- 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 Technical Support" 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-tech/5a4a5498-2548-431a-90ed-0699b8bac75bn%40googlegroups.com.
