Saltar al contenido principal
POST
Preview the rows of a query of the mapping

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

subscriptionId
string
requerido

Unique subscription identifier.

Cuerpo

application/json
binding
string
requerido

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

Ejemplo:

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

query
string
requerido

The query of the mapping to read.

Ejemplo:

"saldos"

limit
integer<int64>

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

Ejemplo:

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.

Respuesta

OK

columns
string[] | null
requerido

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.

Ejemplo:
durationMs
integer<int64>
requerido

How long the read took.

Ejemplo:

41

hasMore
boolean
requerido

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

Ejemplo:

false

limit
integer<int64>
requerido

The limit applied.

Ejemplo:

20

query
string
requerido

The query read.

Ejemplo:

"saldos"

rows
object[] | null
requerido

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