API page_view_total_reqs route?

I can’t get the Discourse API route /page_view_total_reqs (in the API docs: Discourse API Docs) to work on my instance, throws 404. I wonder if it works for others?

In admin dashboard -> reports -> consolidated pageviews, the /admin/reports/consolidated_page_views route is called to generate the plot. This route only seems to support html output, I can’t see any JSON call in the background.

The ruby gem GitHub - discourse/discourse_api: Ruby API for Discourse lacks any methods working with pageviews, so I assume /page_view_total_reqs even though documented isn’t supported yet?

Maybe I’m completely missing something obvious. Thanks for any tips!

1 Like