@SmartData wrote:
I have a script and it works with version 2 - normal.
But after upgrading to version 3.0 -
http://site.info/piwik/index.php?module=API&method=API.get&idSite=all&period=day&date=yesterday&segment=browserCode==CH&format=JSON&token_auth=1111111
Have error
{"result":"error","message":"An unexpected website was found in the request: website id was set to '0' ."}
http://site.info/piwik/index.php?module=API&method=API.get&idSite=1&period=day&date=yesterday&segment=browserCode==CH&format=JSON&token_auth=1111111
- Normal
http://site.info/piwik/index.php?module=API&method=API.get&idSite=2&period=day&date=yesterday&segment=browserCode==CH&format=JSON&token_auth=1111111
- Normal
http://site.info/piwik/index.php?module=API&method=API.get&idSite=1,2&period=day&date=yesterday&segment=browserCode==CH&format=JSON&token_auth=1111111
- NormalUnfortunately difficult to change the script to determine "idSite=all" as "idSite=1,2,3,4,5"
You may help me?
Posts: 1
Participants: 1