Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal API incorrect results #454

Closed
anonymous-matomo-user opened this issue Dec 3, 2008 · 4 comments
Closed

Internal API incorrect results #454

anonymous-matomo-user opened this issue Dec 3, 2008 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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

@robocoder
Copy link
Contributor

Can you re-test with 0.2.28?

@robocoder
Copy link
Contributor

Confirmed in 0.2.28.

@anonymous-matomo-user
Copy link
Author

Yes, it appears to still be an issue in 0.2.28

@mattab
Copy link
Member

mattab commented Mar 2, 2009

fixed in 942

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants