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
First, I want to say Thank you for this great tool.
But I have faced a problem with Piwik API.
Below are the steps of how the problem can be achieved: 1. Making a request to any widget without specifying @columns parameter. e.g.: index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01 first screen shot
It returns Visits = '4' and it's Ok.
2. Making request with incorrect @columns parameter. e.g.:
index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01&columns=nb_act second screen shot
It returns '0' and it's Ok as such a metric doesn't exist.
3. Making request without @columns parameteragain (The same as in first step). e.g.:
index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01 third screen shot
It returns Visits = '0' and it's _not Ok_.
Please, let me know if something is unclear.
Waiting for your response.
Thank you.
Regards,
Alex Karpov
Keywords: API, incorrect parameter
The text was updated successfully, but these errors were encountered:
Hello Piwik Team,
First, I want to say Thank you for this great tool.
But I have faced a problem with Piwik API.
Below are the steps of how the problem can be achieved:
1. Making a request to any widget without specifying @columns parameter. e.g.: index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01 first screen shot
It returns Visits = '4' and it's Ok.
2. Making request with incorrect @columns parameter. e.g.:
index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01&columns=nb_act second screen shot
It returns '0' and it's Ok as such a metric doesn't exist.
3. Making request without @columns parameter again (The same as in first step). e.g.:
index.php?module=API&format=html&method=VisitsSummary.get&idSite=2&period=range&date=2011-10-01,2011-10-01 third screen shot
It returns Visits = '0' and it's _not Ok_.
Please, let me know if something is unclear.
Waiting for your response.
Thank you.
Regards,
Alex Karpov
Keywords: API, incorrect parameter
The text was updated successfully, but these errors were encountered: