Namespaces

Get Namespace Stats (Batch)

Changed on

Returns document/bucket/collection/object counts for many namespaces in ONE call. Replaces per-row /stats fan-out on list views. Counts are aggregated in batch and live doc-counts gathered concurrently; namespaces the caller cannot see are omitted.

post/v1/namespaces/stats/batch

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/namespaces/stats/batch
  • Auth: HTTP bearer

Request body

namespace_idsstring[] required

Namespace IDs to fetch counts for (the visible rows).

Response

Successful Response

statsobject

Map of namespace_id → its counts. Namespaces the caller cannot see are omitted.

Changes

    • info

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

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status