Skip to main content
POST
Generate template code

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json

Template blocks and target output format.

blocks
object[] | null

Template builder blocks converted into Pongo2 code.

Example:
format
string

Output format targeted by the generated template.

Example:

"html"

Response

OK

code
string

Generated Pongo2 template source.

Example:

"{{ account.id }}"

mappedFields
object

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

Example: