Hello, im trying to retrieve all the CMS Content Audit logs through the following endpoint:
/cms/v3/audit-logs/
I have just over a 1000 CMS logs, however the endpoint I use only returns the 1000 latest CMS logs without the paging object, which makes it impossible to retrieve the remaining logs.
The sample response shows a paging object:
Additionally, what I want is to sort the logs oldest first and then paginate through them, however, the documentation isn’t clear on how the sort param can be used.
Hi, @FRobbie Thanks for reaching out! Did you get this resolved? If not, can you share an example of the requestion you are making? If you used the on-page example here, you can copy your request body and it will remove your auth details.
Other questions:
The `sorts` field will accept ASCENDING and DESCENDING
Have you tried using `limit` and setting to a small number like 10? To try to force the paging option to appear?
Are you saying you have 1000+ records in total? Or 1000+ you expect to be returned? Out of a much larger pool?
My other suggestion is to file a support ticket and emphasize the following:
you can reproduce the issue
it’s happening from the on-page example (not a custom code issue)
Include your request and response + details on the result you expect to be returned
this is because the endpoint requires an Enterprise subscription