Page History
...
Property | stats |
---|---|
Example Value | true |
Informational Note | Boolean value indicates whether statistics should be recorded for access via the REST API; Defaults to 'false'. |
Property | max_pagination |
Example Value | 100 |
Informational Note | Integer value limiting the maximum number of items/collections/communities in a REST request return. Users can specify a lower limit in a REST call but not increase this number. |
Recording Proxy Access by Tools
For the purpose of more accurate statistics, a web-based tool may specify who is using it, by adding parameters to the request:
Recording of statistics for view of items or download of bitstreams (set stats = true in rest.cfg to enable stats recording)Code Block |
---|
http://localhost:8080/rest/items/:ID?userIP=ip&userAgent=userAgent&xforwarderfor=xforwarderfor |
If no parameters are given, the details of the
httprequestHTTP request's sender are used in statistics. This enables tools to record the details of their user rather than themselves.
Deploying the DSpace REST API in your Servlet Container
...
Overview
Content Tools