Re: [dspace-tech] change the query

2016-09-21 Thread Dante Valencia
Thank you Bruno, I was trying changing the code of dspace 5.2 and its diferent. > @POST > @Path("/find-by-metadata-field") > @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) > public Item[] findItemsByMetadataField(MetadataEntry metadataEntry, > @QueryParam("expand") String

[dspace-tech] change the query

2016-09-16 Thread Dante Valencia
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 oth

Re: [dspace-tech] how to use find-by-metadata?

2016-09-15 Thread Dante Valencia
> > thank you Bruno, now I understand. > I was confused but it works like login method. -- 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 dspace-tec

[dspace-tech] how to use find-by-metadata?

2016-09-14 Thread Dante Valencia
Hi friends I need help with understanding how to use (find-vy-metadata) with Rest For example, I do this in loggout try { DefaultHttpClient httpClient = new DefaultHttpClient(); HttpPost postRequest = new HttpPost( "http://10.3.11.134:8080/rest/logout";); po