Skip to main content
POST
Generate template code

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json

Template blocks and target output format.

blocks
object[] | null

Template builder blocks converted into Pongo2 code.

Exemplo:
format
string

Output format targeted by the generated template.

Exemplo:

"html"

Resposta

OK

code
string

Generated Pongo2 template source.

Exemplo:

"{{ account.id }}"

mappedFields
object

Fields referenced by the generated template, grouped by data source and entity.

Exemplo: