Passer au contenu principal
POST
/
table
/
query_stats_batch
Lot de statistiques des requêtes sur le tableau
curl --request POST \
  --url https://api.example.com/table/query_stats_batch \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "digests": "aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
  "include_storage_size": false
}
'
{
  "tables": [
    {
      "count": 123,
      "digest": "<string>",
      "storage_size_bytes": 123
    }
  ]
}

Autorisations

Authorization
string
header
requis

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Corps

application/json
project_id
string
requis

L’ID du projet

Exemple:

"my_entity/my_project"

digests
string[] | null

Les empreintes des tableaux à interroger

Exemple:

"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"

include_storage_size
boolean | null
défaut:false

Si la valeur est true, la colonne storage_size_bytes est renvoyée.

Réponse

Réponse réussie

tables
TableStatsRow · object[]
requis