Stats

Get platform stats

Changed on

Returns today's and all-time creation/view counts with per-type breakdown. Optional 'tz' query param (IANA id) controls the boundary of 'today'; defaults to UTC.

get/api/stats

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/stats
  • Auth: none declared

Query parameters

tzstring

IANA timezone id for the 'today' boundary. Defaults to UTC. Example: Europe/Lisbon

Response

Platform statistics

createdTodayinteger

Resources created in the last 24 hours

totalCreatedinteger

All-time resource count

viewsTodayinteger

Views in the last 24 hours

totalViewsinteger

All-time view count

createdTodayPublicinteger nullable

Resources created today in the public namespace

createdTodayPrivateinteger nullable

Resources created today in private namespaces

viewsTodayPublicinteger nullable

Views today on resources in the public namespace

viewsTodayPrivateinteger nullable

Views today on resources in private namespaces

totalCreatedPublicinteger nullable

All-time resources created in the public namespace

totalCreatedPrivateinteger nullable

All-time resources created in private namespaces

totalViewsPublicinteger nullable

All-time views on resources in the public namespace

totalViewsPrivateinteger nullable

All-time views on resources in private namespaces

deletedTodayinteger nullable

Resources deleted in the last 24 hours

deletedTodayPublicinteger nullable

Resources deleted today in the public namespace

deletedTodayPrivateinteger nullable

Resources deleted today in private namespaces

totalDeletedinteger nullable

All-time deleted resource count

totalDeletedPublicinteger nullable

All-time deleted resources in the public namespace

totalDeletedPrivateinteger nullable

All-time deleted resources in private namespaces

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status