Get the template schema
GET
/schema
const url = 'http://localhost:8080/schema';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/schemaCanonical JSON Schema (Draft 2020-12) for the template rendering payload. The response is a JSON Schema document describing the Template type accepted by /render/template, with builder metadata under x-pdfUa.
Responses
Section titled “ Responses ”Template JSON Schema
Media type application/json
object
Example generated
{}