Statisticsv2
All the endpoints that can be called on the Statisticsv2 controller.
All the endpoints require the API_STATISTICS permission, except for:
POSTdashboardDeletePUTdashboard
Which require the DASHBOARD_CUD permission.
Returns all data of this widget to show.
Widget data specifics can be added how is shown in the example. Adjust to your own needs.
User to be filtered out.
ID of the user to be filtered out.
Disables caching if sent with request.
Enables debug mode and disables caching if sent with request.
ID of the panel/widget.
showData example
showData example
Creates a new widget.
See the example for how to write the dataURL.
""Pattern: ^[0-9a-zA-Z :+*\-]+$Identical to the way showData allows these requested parameters in the URL.
""Pattern: ^[a-zA-Z0-9\.\:\/\-\ \=\?\&\[\]\_\:\+\*\@]+$tablePattern: ^([a-zA-Z]+)$0false0055widget example
widget example
Updates an existing widget.
See the example for how to write the dataURL. You need to fill in all the data, not just the changed data.
""Pattern: ^[0-9a-zA-Z :+*\-]+$""Pattern: ^[a-zA-Z0-9\.\:\/\-\ \=\?\&\[\]\_\:\+\*\@]+$tablePattern: ^([a-zA-Z]+)$0falsewidget example
widget example
Creates a setting to send all widget data to an email.
The interval you want to send at.
^([0-9a-zA-Z\ \:\*]+)$Has to be an email address or multiple email addresses comma-separated
""Pattern: ^([a-zA-Z0-9 @+-_.,]+)$No content
No content
Returns and downloads all data of this widget, or of the data you sent along with the request.
You either need to send the widget/panel ID, or the data in such a way provided in the example.
User to be filtered out.
ID of the user to be filtered out.
Disables caching if sent with request.
Enables debug mode and disables caching if sent with request.
ID of the panel/widget.
downloadData example
downloadData example
Last updated