Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Internal API incorrect results #454

Closed
anonymous-piwik-user opened this Issue · 4 comments

3 participants

Anonymous Piwik user Anthon Pang Matthieu Aubry
Anonymous Piwik user

I am using SitesManager.getSitesWithAtLeastViewAccess and I found that if I use the master API token_auth I can get all the sites info. I am trying to send the users token_auth so that it will return just their sites. I found that using the internal API method and using the users token_auth I get an empty result. If I take the same query and put it into the browser it outputs the sites correctly.

Not sure how broad this issue is yet.

index.php?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=PHP&token_auth=USER-TOKEN-HERE

Tested on svn build #823

Anthon Pang
Collaborator

Can you re-test with 0.2.28?

Anthon Pang
Collaborator

Confirmed in 0.2.28.

Anonymous Piwik user

Yes, it appears to still be an issue in 0.2.28

Matthieu Aubry
Owner

fixed in 942

Anonymous Piwik user anonymous-piwik-user added this to the RobotRock milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.