Dashboard
Endpoints for dashboard data including statistics, notifications, news feed, and page view popularity.
Endpoints for dashboard data including statistics, notifications, news feed, and page view popularity.
Dashboard Stats
/dashboard/stats
Response Codes
Returns a snapshot of site statistics including page counts, user counts, plugin counts, active theme, Grav/PHP versions, and last backup date.
Page View Statistics
/dashboard/popularity
Response Codes
Returns page view statistics including daily chart data for the last 14 days, summary counters (today, this week, this month), and top 10 pages by total views. Data is sourced from the admin plugin's popularity tracker log files.
Dashboard Notifications
/dashboard/notifications
Response Codes
Returns system notifications from the Grav notification feed, grouped by location (feed, dashboard, top). Includes a last_checked timestamp.
News Feed
/dashboard/feed
Response Codes
Returns the latest blog posts from the getgrav.org Atom feed. Results are cached and include the 10 most recent articles with title, URL, date, and content snippet.
Hide Notification
/dashboard/notifications/{id}/hide
Parameters
| Name | Type | Description |
|---|---|---|
| id required | string | Notification id (from the `GET /dashboard/notifications` response). |