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
MultiSites.getAll should always return an array of objects but sometimes it returns only a simple array (if there is only one site that matches pattern I think).
MultiSites.getAll should always return an array of objects but sometimes it returns only a simple array (if there is only one site that matches pattern I think).
Example Url:
http://demo2.piwik.org/index.php?module=API&method=MultiSites.getAll&period=year&date=today&format=JSON&token_auth=TOKEN&pattern=piw&enhanced=1
should be wrapped in
[...]
.I tried to workaround this issue in Piwik Mobile but it does also not return the idSite if there is only one result which makes it impossible.
This leads to an "Invalid format error" in Piwik Mobile when using the search.
The text was updated successfully, but these errors were encountered: