Debug

Get database statistics

Changed on

Retrieve database storage statistics and estimated logical table sizes.

Only served when DEBUG=true; returns 404 otherwise.

get/api/stats

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Response

Database statistics

row_countinteger required
storage_usage_kbstring required

Human-readable strings ("{:.2}"), part of the wire format.

storage_usage_mbstring required

Changes

    • breaking

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

    • breaking

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

    • breaking

      the / response's property format changed from float to double for status

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id stats was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      removed the non-success response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      added the optional property // to the response with the status