Pular para o conteúdo principal
POST
Preview the rows of a query of the mapping

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

subscriptionId
string
obrigatório

Unique subscription identifier.

Corpo

application/json
binding
string
obrigatório

The whole mapping, as YAML, exactly as a save would send it. It is planned against the subscription's pinned contract and NEVER saved.

Exemplo:

"contract: br.example.document\nqueries: []\n"

query
string
obrigatório

The query of the mapping to read.

Exemplo:

"saldos"

limit
integer<int64>

How many rows to answer, 1 to 100. Absent: 20.

Exemplo:

20

parameters
object

Generation parameters the query's filters read, as a generation would be given them. Only the ones supplied are validated; the closed-period rule does not apply to a preview.

Resposta

OK

columns
string[] | null
obrigatório

The columns the query answers, in order: its groups then its sums when it aggregates; the columns it selects, else the ones it reads, when it does not.

Exemplo:
durationMs
integer<int64>
obrigatório

How long the read took.

Exemplo:

41

hasMore
boolean
obrigatório

True when the query has more rows than the limit; the rows were cut, never refused.

Exemplo:

false

limit
integer<int64>
obrigatório

The limit applied.

Exemplo:

20

query
string
obrigatório

The query read.

Exemplo:

"saldos"

rows
object[] | null
obrigatório

At most limit rows, each keyed by the columns above. A number is its decimal text, never a float; null is null.