Hi Evgeni, If your concern is that using REST increased the usage count, then you can disable UsageEvents from being counted by REST through a config.
config/modules/rest.cfg https://wiki.duraspace.org/display/DSDOC5x/REST+API#RESTAPI-ConfigurationforDSpaceREST There's no parameter you can add to a rest request that says "this is an insignificant request, please don't count this as usage". All or nothing. ________________ Peter Dietz Longsight www.longsight.com [email protected] p: 740-599-5005 x809 On Wed, Jun 8, 2016 at 9:50 AM, Evgeni Dimitrov <[email protected]> wrote: > I am getting the usage statistics (top 100 titles) for a community with > > // http://localhost:8080/solr/statistics/select > // ?q=type:2&fq=owningComm:12 > // &fq=time:[2016-05-01T00:00:00Z TO 2016-06-01T00:00:00Z] > // &rows=0&facet=true&facet.field=id > // &facet.limit=100&indent=on > > as a list of pairs (count, id). > > To give to the librarian a nice result, I am replacing the id with the > handle and the title of the book. > Using > REST GET /items/{item id} > > Works fine, but every time I run the report, the count (the usage) of this > 100 books is increased by one :( > > Will it be the same, if instead of > GET /items/{item id} > > I use > GET /items/{item id}/metadata > > ?? > > If the answer is "yes", is there any unintrusive way to decode the item id > into handle + title? > > Best regards > > -- > 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. > -- 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.
