ActivityLog API doesn't work with Standard parameters


I’m trying to make a script which let me call the API and get the logs from the activity log, I’ve found some issues:

  • ActivityLog plugin doesn’t give you the logs from the date parameter.
  • ActivityLog API works like a tail command, always in desc order which makes you able to lose data in some scenarios because it also ignores the sort parameter.

I would like to get all the logs of a given date or be able to get the logs in asc order, which would give me the chance to let the script handle the offset and limit properly, instead of offset 0 beeying always the newer position.

Is this possible?

Thank you in advance.
Best regards

Hi Juan,

The Activity log API does not currently support these parameters. As this is an issue for core we will create an issue there for future consideration.