You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Excel to extract data from Piwik using the API. Currently I'm working on a dashboard for which I need to get the data for all websites that the end-user has access to. These end-users have view-permissions, and strangely - the API call for the MultiSites.getAll is requesting an idSite parameter when calling the API-command with view-only credentials. An error message is returned stating that the idSite parameter is missing. However, it shouldn't be necessary because a list of sites is queried, and not the parameters for a specfic site. Users with superadmin rights are not affected.
Could the API be updated where the idSite for the view-credential-users is not neccessary?
The text was updated successfully, but these errors were encountered:
I can't reproduce this with latest Piwik 2.16.1. I'm only getting an error if there is no valid token_auth provided, or if the user of the token_auth does actually not have permission to any site.
I'm using Excel to extract data from Piwik using the API. Currently I'm working on a dashboard for which I need to get the data for all websites that the end-user has access to. These end-users have view-permissions, and strangely - the API call for the MultiSites.getAll is requesting an idSite parameter when calling the API-command with view-only credentials. An error message is returned stating that the idSite parameter is missing. However, it shouldn't be necessary because a list of sites is queried, and not the parameters for a specfic site. Users with superadmin rights are not affected.
Could the API be updated where the idSite for the view-credential-users is not neccessary?
The text was updated successfully, but these errors were encountered: