Dante, You'll have to alter ItemResource's code on REST api: https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L903 Specially the line 967. As i'm not a Java specialist i can't help you besides that, but the idea is to return a hash like object (id,name) or an array of ids, intead of an array of items.
Em sex, 16 de set de 2016 às 13:13, Dante Valencia < [email protected]> escreveu: > Hi friends, > I was researching and testing, how to change the query of > http://localhost:8080/rest/items/find-by-metadata-field > I just want to get the internal id and a specific field of metadata, for > example just want the key: dc.identifier > > I trying this because I have a lot of result and the other metadata > results it doesn't relevant for me. > > Any suggestion? > > Thank you > > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Bruno Nocera Zanette +55 41 9992-2508 -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
