Endpoint
- Method:
GET - Path:
/reports/dashboard-chart-stats - Edition: Core
- Controller:
DashboardController@getChartStats - Route source:
app/Http/Routes/api.php
GET Get Dashboard Chart Stats
GET
/reports/dashboard-chart-stats
Get time-series data for dashboard charts.
Controller: DashboardController@getChartStats
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Responses
Successful response
application/json
JSON
{
"data": [
{
}
],
"labels": [
"string"
]
}