Hi guys,
We’re seeing odd behaviour with one of the API’s end-point:
{{mainwp-dashboard-url}}/wp-json/mainwp/v2/sites/{{site_id_or_domain}}/non-mainwp-changes/
This used to work as expected but it seems like after the recent major updates, it started fetching the results for all sites, instead of the specified one in the request. We tried using both - the siteID or domain name.
Here’s an example of the response we get:
сurl -v "https://MAINWPDASH.com/wp-json/mainwp/v2/sites/DOMAIN.COM/non-mainwp-changes/"
{"success":1,"total":2502,"data":[{"log_id":"1371747","site_id":"1284","item":"FunnelKit Funnel Builder Pro Plugin","user_id":"30595","action":"updated","context":"installer","connector":"non-mainwp-changes","state":"1","created":"1741724475","duration":"9.8777","object_id":"17416848755041","dismiss":"0","url":"https:\/\/SITE1.com\/","log_site_name":"SITE1.com","view_log_id":"1371747","meta_name":"FunnelKit Funnel Builder Pro","user_meta_json":"{\"wp_user_id\":30595,\"display_name\":\"USER\",\"action_user\":\"USER\",\"role\":\"administrator\",\"user_role_label\":\"Administrator\",\"agent\":\"\"}","usermeta":null,"extra_info":null},{"log_id":"1371746","site_id":"1284","item":"FunnelKit Funnel Builder Plugin","user_id":"30595","action":"updated","context":"installer","connector":"non-mainwp-changes","state":"1","created":"1741724460","duration":"11.2002","object_id":"17416848608662","dismiss":"0","url":"https:\/\/SITE1.com\/","log_site_name":"SITE1.com","view_log_id":"1371746","meta_name":"FunnelKit Funnel Builder","user_meta_json":"{\"wp_user_id\":30595,\"display_name\":\"USER\",\"action_user\":\"USER USER\",\"role\":\"administrator\",\"user_role_label\":\"Administrator\",\"agent\":\"\"}","usermeta":null,"extra_info":null},{"log_id":"1371745","site_id":"1284","item":"FunnelKit Automations Pro Plugin","user_id":"30595","action":"updated","context":"installer","connector":"non-mainwp-changes","state":"1","created":"1741724413","duration":"18.4739","object_id":"17416848133924","dismiss":"0","url":"https:\/\/SITE1.com\/","log_site_name":"SITE1.com","view_log_id":"1371745","meta_name": ...and so on for the rest of the sites.
Could you please try replicating on your end and advise if this could be due to a bug after the update release?
Thanks!
Fixed .net