Hi, thanks for your response ! I already stumbled over /api/discover/search and /api/discover/search/objects without luck.
/api/discover/search?query=dc.identifier.other:"one/two/three" fails, while a solr search with search/query?q=dc.identifier.other:"one/two/three" gives me what I want. Also, the user interface gives the wanted result whith GET http://localhost:4000/search?query=dc.identifier.other:"one/two/three" But again, http://localhost:8080/server/api/discover/search?query=dc.identifier.other:%22eb/2014/0113%22 fails. Maybe I overlook something simple or DSpace does some unexpected query mangling somewhere ?. I will do some more checks next week... Thanks for your Input, Alfred Tim Donohue schrieb am Freitag, 21. April 2023 um 16:28:00 UTC+2: > 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]. > 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/3adcc3c4-b5eb-4fd4-9bcf-bc505a4d32e9n%40googlegroups.com.
