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
  • Auth
    none required

Query parameters

tz, string

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

Response

Platform statistics

StatsResponse required
createdToday, integer

Resources created in the last 24 hours

totalCreated, integer

All-time resource count

viewsToday, integer

Views in the last 24 hours

totalViews, integer

All-time view count

breakdown, TypeBreakdown[]

Per-type breakdown (html, file, json, kv, site, one-time secrets)

createdTodayPublic, integer nullable

Resources created today in the public namespace

createdTodayPrivate, integer nullable

Resources created today in private namespaces

viewsTodayPublic, integer nullable

Views today on resources in the public namespace

viewsTodayPrivate, integer nullable

Views today on resources in private namespaces

totalCreatedPublic, integer nullable

All-time resources created in the public namespace

totalCreatedPrivate, integer nullable

All-time resources created in private namespaces

totalViewsPublic, integer nullable

All-time views on resources in the public namespace

totalViewsPrivate, integer nullable

All-time views on resources in private namespaces

deletedToday, integer nullable

Resources deleted in the last 24 hours

deletedTodayPublic, integer nullable

Resources deleted today in the public namespace

deletedTodayPrivate, integer nullable

Resources deleted today in private namespaces

totalDeleted, integer nullable

All-time deleted resource count

totalDeletedPublic, integer nullable

All-time deleted resources in the public namespace

totalDeletedPrivate, integer nullable

All-time deleted resources in private namespaces

accountsToday, integer nullable

Accounts created today, deleted ones excluded

totalAccounts, integer nullable

Current account count, deleted ones excluded

pageDataPages, integer nullable

Pages and sites published with Page data (saving what visitors enter) so far, BrewPage's own pages excluded

pageDataSavesToday, integer nullable

Page data saves today (entries saved or updated by visitors)

totalPageDataSaves, integer nullable

Page data saves so far, never lowered by deletes

lambdaRunsToday, integer nullable

Brew Lambda runs today; absent while Brew Lambda is off

totalLambdaRuns, integer nullable

Brew Lambda runs so far, never lowered; absent while Brew Lambda is off

lambdaPublicationsToday, integer nullable

Pages and sites whose Brew Lambda code was first published today and is on; absent while Brew Lambda is off

totalLambdaPublications, integer nullable

Pages and sites with Brew Lambda code switched on; absent while Brew Lambda is off

commentsToday, integer nullable

Comments posted today

commentsLast7Days, integer nullable

Comments posted in the last 7 days, today included

totalComments, integer nullable

Comments posted so far, never lowered by deletes

commentedPublications, integer nullable

Pages and other publications that hold at least one comment

Changes

    • info

      added the optional property commentedPublications to the response with the status

    • info

      added the optional property commentsLast7Days to the response with the status

    • info

      added the optional property commentsToday to the response with the status

    7 more changes in this revision