Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Separate proxy parameter stuff from configuration and clarify

...

Propertystats
Example Valuetrue
Informational NoteBoolean value indicates whether statistics should be recorded for access via the REST API; Defaults to 'false'.
Propertymax_pagination
Example Value100
Informational NoteInteger 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

httprequest

HTTP 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

...