Hi,

You can use the /api/discover/search endpoint to search items (or any object) 
via metadata fields.  The full docs for that endpoint are at 
https://github.com/DSpace/RestContract/blob/main/search-endpoint.md

The easiest way to test queries though is via the new User Interface.  You can 
see every REST API call made from the User Interface from your browser's 
DevTools (Network tab).  We have a guide for how to do advanced searches from 
the User Interface...and all these searches are possible via the REST API. 
https://wiki.lyrasis.org/display/DSDOC7x/Search+-+Advanced

If you have more questions, let us know on this list.
Tim
________________________________
From: [email protected] <[email protected]> on behalf of 
Alfred Anders <[email protected]>
Sent: Friday, April 21, 2023 6:56 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] find item by rest api

I am in the process of migrating a large repo to dspace 7.5 (or later) via the 
rest api.
To find out, whether to use POST or PUT operations, I need to find out, if I do 
a new import
or re-import.

In solr, I  can find the status with a search like 
dc.identifier.other:"one/two/three", since I put the identifier of the original 
repo to that field.

Is there a way to do this with the DSpace REST API ?

Thanks for any hints,
  Alfred

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/cc304dad-bb0c-40dd-9f21-9afb4eea926en%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/cc304dad-bb0c-40dd-9f21-9afb4eea926en%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR22MB3274D84EF369BDEC7F4444D1ED609%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to