Nextcloud version (eg, 18.0.3):
Operating system and version (Ubuntu 18.04.03):
Apache or nginx version (Apache 2.4.):
PHP version (7.3):
Hi,
really interesting app for data! However, I am struggling with sending data over the Rest API. I have read the documentation and also watched the video about it but even I send the data, no data appear in the “report”.
The report is reporting this url to Rest API: /index.php/apps/analytics/api/1.0/adddata/4
The documentation features this example:
This will result into this after running via Windows 10:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://****.com/index.php/apps/analytics/api/1.0/adddata/4">here</a>.</p>
</body></html>
No data added or any change to the report. I am already lost in this, tried different combinations but without any result. Any idea what I am doing wrong?
the issue was quite simple to solve but it really took me some time to realize where is the catch
The data looks great, I am really happy about that. The only issue I have found is sorting of the data while using the “date in the second column” chart. The chart is sorting the dates right but when it comes for example to: 20.04.2020 1:10:10 followed by 20.04.2020 10:10:10, it will place the 10:10:10 record in front of the 1:10:10. I had to format the timestamp to always be hh:mm:ss, otherwise it will not work properly.
Hi, that would be great!
Speaking about possible “add-ons”, from the user experience I had so far I missing these options/features there. Not sure if it is possible to do but I will mention it anyway
Sharing: The share options are very limited and for example there is no way to share the “charts” between the users of the same Nextcloud instance. The only possible way is a “share link”. I would be great to have the option to share the “charts” between the users without the need of a “direct link”.
Chart options: The chart options are now allowing to control some options of the chart but for example “pointstyle” is not possible to change/add because it is a part of the “datasets” settings and not “options” - at least I didnt find a way. It would be great to have the option to add these settings the same way as the “options”.
great job anyway! thank you for this and best regards, Tomas
Hello @devnull ,
thank you for your feedback.
When I put this URL into Webbrowser on my PC, it is being automatically forwarded to my Nextcloud homepage (Dashboard). When I do the same on my phone, I get the message that the Website is not working. I just see that in both cases http:// is being automatically changed into https://.
This is what I am getting from Analytics:
In all the tutorials I found, there is /nextcloud/ instead of /index.php/. But none of these works for me.