ver. 1958 (4e4db56)
services/apiref
services/apisrv
services/attrs
services/caches
services/caches/formatters
services/caches/map
services/caches/search
services/caches/shortcuts
services/logs
services/logs/images
services/oauth
services/replicate
services/users

Retrieve log entries of a specified user
:: services/logs/userlogs method

Minimum Authentication: Level 1 (see Authentication Levels)
https://opencache.uk/okapi/services/logs/userlogs

Retrieve log entries of a specified user.

user_uuid required

ID of the user. (Use services/users/by_username to get it.)

fields optional

Default value: uuid|date|cache_code|type|comment

Pipe-separated list of log fields to include in the response. For valid field names, see the services/logs/entry method.
limit optional

Default value: 20

Integer N. If given, no more than N logs will be returned (the most recent ones). Maximum allowed value is 1000.

Note: Some users have thousands of log entries!

offset optional

Default value: 0

Combined with the limit argument, this gives you an ability to get all log entries of the user (with multiple requests).

format optional Standard common formatting argument.
callback optional Standard common formatting argument.
Plus required consumer_key argument, assigned for your application.

Returned value:

A list of log entries, ordered by descending date. Each entry is a dictionary of the requested log fields. For a description of the field values, see the services/logs/entry method.