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

Doc API contain bad test URLs #488

Closed
anonymous-matomo-user opened this issue Jan 5, 2009 · 4 comments
Closed

Doc API contain bad test URLs #488

anonymous-matomo-user opened this issue Jan 5, 2009 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

On every site, we have “quick doc of API

example of first line which manages date request:
Actions.getActions (idSite, period, date, expanded = , idSubtable =) [ Example in XML, PHP, Json, Csv, Basic html , RSS of the last 10 days, 5 weeks, XML of the last 10 days ]

10 days, 5 weeks or last 10 days spoken in URL of yesterday :-X

http://80.247.230.136/piwik/index.php?module=API&method=Referers.getRefererType&idSite=1&period=day&date=yesterday&format=rss&token_auth=XXXXXXXXXXXXXXX

choosen priority is major because it is a little annoying ;)

@robocoder
Copy link
Contributor

It appears you’ve disabled anonymous viewing of your piwik sites, i.e., in Settings => Users, you’ve set “anonymous” to “no access”.

Otherwise, this is working correctly in 0.2.28 whether logged in or out.

@robocoder
Copy link
Contributor

p.s. If you don’t want to see the “API” link, edit core/SmartyPlugins/function.assignTopBar.php.

@anonymous-matomo-user
Copy link
Author

http://img184.imageshack.us/my.php?image=sanstitreve8.png

10 days is not yesterday ;)

@mattab
Copy link
Member

mattab commented Jan 12, 2009

Thanks for report. Fixed in 861

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. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

3 participants